Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyFPG-0075u8-Kz for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2023 17:53:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qyFPF-0086GM-Al for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2023 17:53:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyFPF-0086GE-08 for pgsql-general@lists.postgresql.org; Wed, 01 Nov 2023 17:53:29 +0000 Received: from smtp.burggraben.net ([88.198.69.140]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyFP4-003Trf-Sh for pgsql-general@lists.postgresql.org; Wed, 01 Nov 2023 17:53:27 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "R3" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 4ECB2C00317; Wed, 1 Nov 2023 18:53:16 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id F18FE3AB02; Wed, 1 Nov 2023 18:53:15 +0100 (CET) Date: Wed, 1 Nov 2023 18:53:15 +0100 From: Christoph Moench-Tegeder To: Atul Kumar Cc: pgsql-general Subject: Re: missing client_hostname Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ## 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