aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2001-09-23 10:59:45 +0000
committerTatsuo Ishii <ishii@postgresql.org>2001-09-23 10:59:45 +0000
commitbe629abfc85dd4a51b53a27a472f79f94f95de0f (patch)
treea4acc5e4614829c15126d26913a0d4b0a1725007 /src/include
parentfae50f873f85a1d8ec0b88dfff12d922eca2da8d (diff)
downloadpostgresql-be629abfc85dd4a51b53a27a472f79f94f95de0f.tar.gz
postgresql-be629abfc85dd4a51b53a27a472f79f94f95de0f.zip
Add pg_database_encoding_max_length() function.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/mb/pg_wchar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index d27e316bde9..eb8bf54e646 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -1,4 +1,4 @@
-/* $Id: pg_wchar.h,v 1.31 2001/09/21 15:27:38 tgl Exp $ */
+/* $Id: pg_wchar.h,v 1.32 2001/09/23 10:59:45 ishii Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
@@ -226,6 +226,7 @@ extern int pg_mbstrlen_with_len(const unsigned char *, int);
extern int pg_mbcliplen(const unsigned char *, int, int);
extern int pg_mbcharcliplen(const unsigned char *, int, int);
extern int pg_encoding_max_length(int);
+extern int pg_database_encoding_max_length(void);
extern int pg_set_client_encoding(int);
extern int pg_get_client_encoding(void);