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
Ответ на
Список
Дерево обсуждения
Make message strings in fe-connect.c consistent Gurjeet Singh <gurjeet@singh.im>
Re: Make message strings in fe-connect.c consistent Tom Lane <tgl@sss.pgh.pa.us>
Re: Make message strings in fe-connect.c consistent Gurjeet Singh <gurjeet@singh.im>
Re: Make message strings in fe-connect.c consistent Daniel Gustafsson <daniel@yesql.se>
> On 21 Apr 2023, at 07:02, Gurjeet Singh  wrote:
> On Thu, Apr 20, 2023 at 9:31 PM Tom Lane  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
Дата:
От: Masahiko Sawada
Дата:
FAQ