Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71d119f

Browse files
committed
Oops, mustn't call textdomain() when compiling without --enable-nls
1 parent1fe5020 commit71d119f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/utils/init/postinit.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.189 2009/04/0809:50:48 heikki Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.190 2009/04/0813:08:09 heikki Exp $
1212
*
1313
*
1414
*-------------------------------------------------------------------------
@@ -266,7 +266,9 @@ CheckMyDatabase(const char *name, bool am_superuser)
266266
SetConfigOption("lc_ctype",ctype,PGC_INTERNAL,PGC_S_OVERRIDE);
267267

268268
/* Use the right encoding in translated messages */
269+
#ifdefENABLE_NLS
269270
pg_bind_textdomain_codeset(textdomain(NULL));
271+
#endif
270272

271273
/*
272274
* Lastly, set up any database-specific configuration variables.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp