projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463d863
)
Oops, mustn't call textdomain() when compiling without --enable-nls
author
Heikki Linnakangas
<
[email protected]
>
Wed, 8 Apr 2009 13:08:09 +0000
(13:08 +0000)
committer
Heikki Linnakangas
<
[email protected]
>
Wed, 8 Apr 2009 13:08:09 +0000
(13:08 +0000)
src/backend/utils/init/postinit.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/init/postinit.c
b/src/backend/utils/init/postinit.c
index a73833a1e632fc87c51191fd7f7aa9c39a286da0..b1251f945fd11101cb72a474068ef031bdeacda4 100644
(file)
--- a/
src/backend/utils/init/postinit.c
+++ b/
src/backend/utils/init/postinit.c
@@
-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.