Skip to content

Commit deca6ac

Browse files
committed
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/20240408.162702.183779935636035593.horikyota.ntt@gmail.com
1 parent f4083c4 commit deca6ac

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ main(int argc, char *argv[])
154154

155155
pg_logging_init(argv[0]);
156156
progname = get_progname(argv[0]);
157+
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_combinebackup"));
157158
handle_help_version_opts(argc, argv, progname, help);
158159

159160
memset(&opt, 0, sizeof(opt));

src/bin/pg_walsummary/pg_walsummary.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ main(int argc, char *argv[])
6767

6868
pg_logging_init(argv[0]);
6969
progname = get_progname(argv[0]);
70+
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_walsummary"));
7071
handle_help_version_opts(argc, argv, progname, help);
7172

7273
/* process command-line options */

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