*** pgsql/src/include/mb/pg_wchar.h 2009/03/08 16:07:12 1.85 --- pgsql/src/include/mb/pg_wchar.h 2009/03/08 18:10:17 1.86 *************** *** 6,12 **** * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.84 2009/02/10 19:29:39 petere Exp $ * * NOTES * This is used both by the backend and by libpq, but should not be --- 6,12 ---- * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.85 2009/03/08 16:07:12 alvherre Exp $ * * NOTES * This is used both by the backend and by libpq, but should not be *************** extern const char *pg_get_client_encodin *** 392,398 **** --- 392,400 ---- extern void SetDatabaseEncoding(int encoding); extern int GetDatabaseEncoding(void); extern const char *GetDatabaseEncodingName(void); + #ifdef ENABLE_NLS extern void pg_bind_textdomain_codeset(const char *domainname, int encoding); + #endif extern int pg_valid_client_encoding(const char *name); extern int pg_valid_server_encoding(const char *name);