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

Commit88ca65d

Browse files
committed
Skip settting LC_ALL in the backend.
1 parent2288977 commit88ca65d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/port/path.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/path.c,v 1.12 2004/05/25 01:00:30 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/path.c,v 1.13 2004/05/25 01:42:08 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -251,7 +251,10 @@ set_pglocale(const char *argv0, const char *app)
251251
charpath[MAXPGPATH];
252252
charmy_exec_path[MAXPGPATH];
253253

254-
setlocale(LC_ALL,"");
254+
/* don't set LC_ALL in the backend */
255+
if (strcmp(app,"postgres")!=0)
256+
setlocale(LC_ALL,"");
257+
255258
if (find_my_exec(argv0,my_exec_path)<0)
256259
return;
257260

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp