summaryrefslogtreecommitdiff
path: root/src/bin/pg_walsummary/pg_walsummary.c
diff options
context:
space:
mode:
authorMichael Paquier2024-04-09 05:01:33 +0000
committerMichael Paquier2024-04-09 05:01:33 +0000
commitdeca6ac136f4cd09280b3385dc5de3e8ec57e9ba (patch)
treeaec4c32e439fa474b4782987e76697eba23ab53b /src/bin/pg_walsummary/pg_walsummary.c
parentf4083c49751018ae2140de8bf752b8d60485a6ca (diff)
Add missing set_pglocale_pgservice() for pg_walsummary and pg_combinebackup
These calls are required to make both tools work with NLS. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/bin/pg_walsummary/pg_walsummary.c')
-rw-r--r--src/bin/pg_walsummary/pg_walsummary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_walsummary/pg_walsummary.c b/src/bin/pg_walsummary/pg_walsummary.c
index 5e41b376d7b..daf6cd14ce7 100644
--- a/src/bin/pg_walsummary/pg_walsummary.c
+++ b/src/bin/pg_walsummary/pg_walsummary.c
@@ -67,6 +67,7 @@ main(int argc, char *argv[])
pg_logging_init(argv[0]);
progname = get_progname(argv[0]);
+ set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_walsummary"));
handle_help_version_opts(argc, argv, progname, help);
/* process command-line options */