Re: Make message strings in fe-connect.c consistent - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Make message strings in fe-connect.c consistent
Date
Msg-id 181BD61D-F0DB-4251-A703-693F2CE50B3C@yesql.se
Whole thread Raw
In response to Re: Make message strings in fe-connect.c consistent  (Gurjeet Singh <gurjeet@singh.im>)
List pgsql-hackers
> On 21 Apr 2023, at 07:02, Gurjeet Singh <gurjeet@singh.im> wrote:
> On Thu, Apr 20, 2023 at 9:31 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

>>>> libpq_append_conn_error(conn, "invalid require_auth method: \"%s\"",
>>>> method);
>>
>> Yup, this one did not get the memo.

I've pushed this, with the change to use the common "invalid %s value" format
that we use for all other libpq options.  This makes this string make use of
already existing translations and makes error reporting consistent.

> That explains why I could not find any translation for this error message.

The feature is new in master so any translations for it are yet to be merged
from the translation repo.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Jelte Fennema
Date:
Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel
Next
From: Masahiko Sawada
Date:
Subject: Re: Initial Schema Sync for Logical Replication