Re: BUG #17538: Dynamically updating log_hostname not affect the disconnection log

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17538: Dynamically updating log_hostname not affect the disconnection log
Дата
Msg-id 1596953.1656955421@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17538: Dynamically updating log_hostname not affect the disconnection log  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The parameter could be updated on the fly. However, dynamically updating
> log_hostname did not affect the disconnection log.

This is operating as designed: the host name is captured at connection
time, and the log_disconnection message just repeats it.  What you
propose would not be an improvement, because it'd make it impossible
to match up log_disconnections messages with log_connections ones.

            regards, tom lane



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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error