]> granicus.if.org Git - postgresql/commitdiff
Add locale setting for pg_ctl.
authorBruce Momjian <bruce@momjian.us>
Tue, 1 Jun 2004 22:03:18 +0000 (22:03 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 1 Jun 2004 22:03:18 +0000 (22:03 +0000)
src/bin/pg_ctl/pg_ctl.c

index ce0fc2590142d564599271698355718d8d341f05..f0426dad9b0a78b5f33348b51cf9dbaff40d83b9 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.4 2004/06/01 03:32:42 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.5 2004/06/01 22:03:18 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -824,6 +824,7 @@ main(int argc, char **argv)
 #endif
 
        progname = get_progname(argv[0]);
+       set_pglocale(argv[0], "pg_ctl");
 
        /*
         * save argv[0] so do_start() can look for the postmaster if