Re: missing client_hostname

Поиск
Список
Период
Сортировка
От Mateusz Henicz
Тема Re: missing client_hostname
Дата
Msg-id CAN6i3YPPXi7q9MU=PGZs0NsKwDaFEB0CEvbJ=PB2B67SeGSHdw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: missing client_hostname  (Atul Kumar <akumar14871@gmail.com>)
Ответы Re: missing client_hostname
Список pgsql-general
Did you reconnect your replica after enabling log_hostname? If not, then do it and check again.

śr., 1 lis 2023, 19:03 użytkownik Atul Kumar <akumar14871@gmail.com> napisał:
I have already enabled log_hostname, still  client_hostname is not showing up.

Do you think that just because I use ip instead of hostname while using pg_basebackup could be the reason for it ?




Regards,
Atul

On Wed, Nov 1, 2023 at 11:23 PM Christoph Moench-Tegeder <cmt@burggraben.net> wrote:
## Atul Kumar (akumar14871@gmail.com):

> It was successfully configured but when I query pg_stat_replication I don't
> get the hostname in output:

I Recommend The Fine Manual:
https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-REPLICATION-VIEW
"... and only when log_hostname is enabled".

Regards,
Christoph

--
Spare Space

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

Предыдущее
От: Ron
Дата:
Сообщение: pg_dump/pg_restore --jobs practical limit?
Следующее
От: Atul Kumar
Дата:
Сообщение: Re: missing client_hostname