Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitdeca6ac

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 HoriguchiDiscussion:https://postgr.es/m/20240408.162702.183779935636035593.horikyota.ntt@gmail.com
1 parentf4083c4 commitdeca6ac

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)

[8]ページ先頭

©2009-2025 Movatter.jp