From 4d0e47d5a9482651007f946228381d3fa0141181 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 1 Jun 2004 22:03:18 +0000 Subject: [PATCH] Add locale setting for pg_ctl. --- src/bin/pg_ctl/pg_ctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index ce0fc25901..f0426dad9b 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -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 -- 2.40.0