Skip to content

Commit 4d0e47d

Browse files
committed
Add locale setting for pg_ctl.
1 parent 4b2dafc commit 4d0e47d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.4 2004/06/01 03:32:42 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.5 2004/06/01 22:03:18 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -824,6 +824,7 @@ main(int argc, char **argv)
824824
#endif
825825

826826
progname = get_progname(argv[0]);
827+
set_pglocale(argv[0], "pg_ctl");
827828

828829
/*
829830
* save argv[0] so do_start() can look for the postmaster if

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy