Re: Few untranslated error messages in OAuth

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Few untranslated error messages in OAuth
Date: 2025-11-13 12:32:27
Message-ID: 202511131230.hrmskjbmizn6@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025-Nov-13, Daniel Gustafsson wrote:

> I was pondering that since auth error messages in backend libpq does this, but
> since we don't use gettext_noop anywhere else in frontend libpq today it makes
> sense to go with libpq_gettext and update the docs instead.
>
> Unless you, who has more translation/nls insights than me, feel strongly about
> gettext_noop I'll go ahead with the current patch.

gettext_noop() does something completely different from libpq_gettext(),
and the more I think about this, the more I think doing libpq_gettext()
is the wrong thing. I can give it a shot if you want.

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Update: super-fast reaction on the Postgres bugs mailing list. The report
was acknowledged [...], and a fix is under discussion.
The wonders of open-source !"
https://twitter.com/gunnarmorling/status/1596080409259003906

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-11-13 12:49:27 Re: Few untranslated error messages in OAuth
Previous Message Mircea Cadariu 2025-11-13 12:26:19 Re: pgsql: Drop unnamed portal immediately after execution to completion