Thanks to visit codestin.com Credit goes to github.com
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 d96c374 commit 437063bCopy full SHA for 437063b
src/port/path.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/port/path.c,v 1.15 2004/05/25 20:47:41 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/path.c,v 1.16 2004/05/26 19:00:31 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -234,11 +234,13 @@ set_pglocale(const char *argv0, const char *app)
234
#ifdef ENABLE_NLS
235
char path[MAXPGPATH];
236
char my_exec_path[MAXPGPATH];
237
+#endif
238
239
/* don't set LC_ALL in the backend */
240
if (strcmp(app, "postgres") != 0)
241
setlocale(LC_ALL, "");
242
243
+#ifdef ENABLE_NLS
244
if (find_my_exec(argv0, my_exec_path) < 0)
245
return;
246
0 commit comments