git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1fe5020)
Oops, mustn't call textdomain() when compiling without --enable-nls
Wed, 8 Apr 2009 13:08:09 +0000 (13:08 +0000)
Wed, 8 Apr 2009 13:08:09 +0000 (13:08 +0000)

diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 44d7dc25247d3d39a6ba2c28226ebdd6b67c8624..9b48b7671dbfe5ed7f04191c042a592e43ff5593 100644 (file)
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.189 2009年04月08日 09:50:48 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.190 2009年04月08日 13:08:09 heikki Exp $
*
*
*-------------------------------------------------------------------------
@@ -266,7 +266,9 @@ CheckMyDatabase(const char *name, bool am_superuser)
SetConfigOption("lc_ctype", ctype, PGC_INTERNAL, PGC_S_OVERRIDE);
/* Use the right encoding in translated messages */
+#ifdef ENABLE_NLS
pg_bind_textdomain_codeset(textdomain(NULL));
+#endif
/*
* Lastly, set up any database-specific configuration variables.
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /