Re: NLS doesn't work for pg_combinebackup

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-04-09T06:00:27Z
Lists: pgsql-hackers
On Mon, Apr 08, 2024 at 04:31:05PM +0900, Kyotaro Horiguchi wrote:
>> diff --git a/src/bin/pg_combinebackup/pg_combinebackup.c b/src/bin/pg_combinebackup/pg_combinebackup.c
>> index 1b07ca3fb6..2788c78fdd 100644
>> +++ b/src/bin/pg_combinebackup/pg_combinebackup.c
> +++ b/src/bin/pg_walsummary/pg_walsummary.c
>  	progname = get_progname(argv[0]);
> +	set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_walsummary"));

I've checked the whole tree, and the two you are pointing at are the
only incorrect paths.  So applied, thanks!
--
Michael

Commits

  1. Add missing set_pglocale_pgservice() for pg_walsummary and pg_combinebackup