From 5eb1d0deb15f2b7cd0051bef12f3e091516c723b Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Tue, 18 Jan 2000 05:10:29 +0000 Subject: Add builtin functions: pg_char_to_encoding() pg_encoding_to_char() --- src/include/mb/pg_wchar.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include/mb') diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index 848c345ac5a..5162017d2a2 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.12 2000/01/15 18:30:35 petere Exp $ */ +/* $Id: pg_wchar.h,v 1.13 2000/01/18 05:08:31 ishii Exp $ */ #ifndef PG_WCHAR_H #define PG_WCHAR_H @@ -121,8 +121,13 @@ extern int pg_get_client_encoding(void); extern unsigned char *pg_client_to_server(unsigned char *, int); extern unsigned char *pg_server_to_client(unsigned char *, int); extern int pg_valid_client_encoding(const char *); + +/* moved to miscadmin.h + * pg_proc.h now have them. extern const char *pg_encoding_to_char(int); extern int pg_char_to_encoding(const char *); +*/ + extern int GetDatabaseEncoding(void); extern void SetDatabaseEncoding(int); extern void SetTemplateEncoding(int); -- cgit v1.2.3