Re: request patch pg_recvlogical.c, pg_receivexlog.c for nls

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Ioseph Kim <pgsql-kr(at)postgresql(dot)kr>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: request patch pg_recvlogical.c, pg_receivexlog.c for nls
Date: 2015-12-28 13:54:09
Message-ID: 20151228135409.GG58441@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier wrote:
> On Mon, Dec 28, 2015 at 5:07 PM, Ioseph Kim <pgsql-kr(at)postgresql(dot)kr> wrote:

> > at PostgreSQL version 9.5rc1,
> > at line 934 in pg_recvlogical.c
> >
> > set_pglocale_pgservice(argv[0],PG_TEXTDOMAIN("pg_recvlogical"));
> >
> > this references invalid catalog file, because pg_basebackup,
> > pg_recvlogical, pg_receivexlog commands use same catalog file
> > pg_basebackup.mo
> >
> > pg_receivexlog.c too.
> >
> > patch please.
>
> Yes, you are right. Both values do not match CATALOG_NAME in nls.mk. I
> guess that something like the attached is fine then... The other
> binaries are fine.

Oops. We should have noticed this a long ago, since pg_receivexlog was
introduced in 9.2 and pg_recvlogical in 9.4 ... judging by the
misalignment in the spanish translation for --help, I have never tested
the output of those programs.

Pushed and backpatched as appropriate. Thanks.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2015-12-28 13:57:11 Re: pg_upgrade tests running calling psql without --no-psqlrc
Previous Message Michael Paquier 2015-12-28 13:33:23 Re: request patch pg_recvlogical.c, pg_receivexlog.c for nls