summaryrefslogtreecommitdiff
path: root/src/include/mb
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2009-03-09 00:01:32 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2009-03-09 00:01:32 +0000
commite43fd89762a5a894ea04f4fe74e05f95a1488664 (patch)
tree18be430799f560f8878f83b18bfdfe07c3e3dc40 /src/include/mb
parentace2b067d5a3d3c987960b830c325c6299c40532 (diff)
downloadpostgresql-e43fd89762a5a894ea04f4fe74e05f95a1488664.tar.gz
Revert pg_bind_textdomain_codeset to a existant-but-empty function when
ENABLE_NLS is not defined, for better compatibility of the backend with modules compiled the other way. Per note from Tom after my previous commit.
Diffstat (limited to 'src/include/mb')
-rw-r--r--src/include/mb/pg_wchar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index 37089e2cb0..3f93d7bc12 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -6,7 +6,7 @@
* 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.86 2009/03/08 18:10:17 alvherre Exp $
+ * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.87 2009/03/09 00:01:32 alvherre Exp $
*
* NOTES
* This is used both by the backend and by libpq, but should not be
@@ -392,9 +392,7 @@ extern const char *pg_get_client_encoding_name(void);
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);