Re: Improve the connection failure error messages

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Improve the connection failure error messages
Дата
Msg-id 76155D82-5B97-41B1-B373-8BC6194AE522@yesql.se
обсуждение исходный текст
Ответ на Re: Improve the connection failure error messages  (Nisha Moond <nisha.moond412@gmail.com>)
Список pgsql-hackers
> On 22 Mar 2024, at 11:42, Nisha Moond <nisha.moond412@gmail.com> wrote:

> Here is the v4 patch with changes required in slotfuncs.c and slotsync.c files.

-    errmsg("could not connect to the primary server: %s", err));
+    errmsg("\"%s\" could not connect to the primary server: %s", app_name.data, err));

Messages like this should perhaps have translator comments to indicate what the
leading "%s" will contain?

--
Daniel Gustafsson




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Frédéric Yhuel
Дата:
Сообщение: Re: New GUC autovacuum_max_threshold ?
Следующее
От: "Zhijie Hou (Fujitsu)"
Дата:
Сообщение: RE: Improving the latch handling between logical replication launcher and worker processes.