Re: [PATCH] pg_hba.conf error messages for logical replication connections

Поиск
Список
Период
Сортировка
От Paul Martinez
Тема Re: [PATCH] pg_hba.conf error messages for logical replication connections
Дата
Msg-id CACqFVBYaJmJve0hzU9YbjpKwZZ81eGWHM7Lc_XG7UMjYygdC9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] pg_hba.conf error messages for logical replication connections  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [PATCH] pg_hba.conf error messages for logical replication connections  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Fri, Jan 29, 2021 at 8:41 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> Yeah, hints or more details might improve the situation but I am not
> sure we want to add more branching here. Can we write something
> similar to HOSTNAME_LOOKUP_DETAIL for hints? Also, I think what you
> are proposing to write is more of a errdetail kind of message. See
> more error routines in the docs [1].
>

Alright, I've updated both sets of error messages to use something like
HOSTNAME_LOOKUP_DETAIL, both for the error message itself, and for the
extra detail message about the replication keyword. Since now we specify
both an errdetail (sent to the client) and an errdetail_log (sent to the
log), I renamed HOSTNAME_LOOKUP_DETAIL to HOSTNAME_LOOKUP_DETAIL_LOG.

- Paul

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Recording foreign key relationships for the system catalogs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should we make Bitmapsets a kind of Node?