Re: Improve the connection failure error messages

Поиск
Список
Период
Сортировка
От Nisha Moond
Тема Re: Improve the connection failure error messages
Дата
Msg-id CABdArM41SRs_sX-G2xyc4RZVR5NDz4A9=Fh+2Hpj6iCYb=yhng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improve the connection failure error messages  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Improve the connection failure error messages
Re: Improve the connection failure error messages
Список pgsql-hackers
On Fri, Apr 26, 2024 at 1:10 PM Daniel Gustafsson <daniel@yesql.se> wrote:
>
> > 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?

Attached v5 patch with the translator comments as suggested.

--
Thanks,
Nisha

Вложения

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

Предыдущее
От: Yao Wang
Дата:
Сообщение: Re: 回复: An implementation of multi-key sort
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15