Re: Make message strings in fe-connect.c consistent

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Make message strings in fe-connect.c consistent
Дата
Msg-id 181BD61D-F0DB-4251-A703-693F2CE50B3C@yesql.se
обсуждение исходный текст
Ответ на Re: Make message strings in fe-connect.c consistent  (Gurjeet Singh <gurjeet@singh.im>)
Список 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 по дате отправления:

Предыдущее
От: Jelte Fennema
Дата:
Сообщение: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Initial Schema Sync for Logical Replication