Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit deca6ac

Browse filesBrowse 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
Copy full SHA for deca6ac

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎src/bin/pg_combinebackup/pg_combinebackup.c

Copy file name to clipboardExpand all lines: src/bin/pg_combinebackup/pg_combinebackup.c
+1Lines 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

Copy file name to clipboardExpand all lines: src/bin/pg_walsummary/pg_walsummary.c
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.