Content-Length: 276856 | pFad | http://github.com/postgrespro/postgres_cluster/commit/88ca65d76be35f0e297d0838448f4b54599fa9a9
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2288977 commit 88ca65dCopy full SHA for 88ca65d
src/port/path.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/port/path.c,v 1.12 2004/05/25 01:00:30 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/path.c,v 1.13 2004/05/25 01:42:08 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -251,7 +251,10 @@ set_pglocale(const char *argv0, const char *app)
251
char path[MAXPGPATH];
252
char my_exec_path[MAXPGPATH];
253
254
- setlocale(LC_ALL, "");
+ /* don't set LC_ALL in the backend */
255
+ if (strcmp(app, "postgres") != 0)
256
+ setlocale(LC_ALL, "");
257
+
258
if (find_my_exec(argv0, my_exec_path) < 0)
259
return;
260
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/88ca65d76be35f0e297d0838448f4b54599fa9a9
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments