Commit 4d0e47d5 authored by Bruce Momjian's avatar Bruce Momjian

Add locale setting for pg_ctl.

parent 4b2dafcc
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * 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) ...@@ -824,6 +824,7 @@ main(int argc, char **argv)
#endif #endif
progname = get_progname(argv[0]); progname = get_progname(argv[0]);
set_pglocale(argv[0], "pg_ctl");
/* /*
* save argv[0] so do_start() can look for the postmaster if * save argv[0] so do_start() can look for the postmaster if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment