Re: missing client_hostname - Mailing list pgsql-general

From Atul Kumar
Subject Re: missing client_hostname
Date
Msg-id CA+ONtZ4=diNcq5brX_PLaLhadwD58HCXHhEiW2gKqfOjPNTp5w@mail.gmail.com
Whole thread Raw
In response to Re: missing client_hostname  (Christoph Moench-Tegeder <cmt@burggraben.net>)
Responses Re: missing client_hostname  (Mateusz Henicz <mateuszhenicz@gmail.com>)
Re: missing client_hostname  (Christoph Moench-Tegeder <cmt@burggraben.net>)
List pgsql-general
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 by date:

Previous
From: Christoph Moench-Tegeder
Date:
Subject: Re: missing client_hostname
Next
From: Ron
Date:
Subject: pg_dump/pg_restore --jobs practical limit?