From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
Cc: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Log prefix missing for subscriber log messages received from publisher |
Date: | 2025-07-22 12:21:10 |
Message-ID: | CAHGQGwFM=4zYu+=BJvbG0YRNduBw0Y84HhqCSvzL6Mu2yWW34w@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jul 22, 2025 at 8:47 PM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
>
> On 2025-Jul-22, Fujii Masao wrote:
>
> > Is the issue caused by the use of _() in libpq-be-fe-helpers.h,
> > instead of using gettext_noop() in dblink.c? At least in my test
> > environment, the build error disappeared after applying
> > the following change:
> >
> > - errmsg_internal("%s: %.*s", _(prefix), len, message));
> > + errmsg_internal("%s: %.*s", prefix, len, message));
>
> Oh yeah, I should have remembered this -- see commit 213c959a294d. Feel
> free to do away with the whole translation thing ... doesn't seem worth
> spending more time on it.
Yes! The attached patch removes the translation marker and the
gettext_noop() calls I recently added.
> We should still remove all gettext_noop() markers in contrib :-)
You mean to remove gettext_noop() also from basic_archive.c?
Regards,
--
Fujii Masao
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Remove-translation-marker-from-libpq-be-fe-helper.patch | application/octet-stream | 3.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bertrand Drouvot | 2025-07-22 12:24:46 | Re: Adding wait events statistics |
Previous Message | Andrei Lepikhov | 2025-07-22 12:04:31 | Re: track generic and custom plans in pg_stat_statements |