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 1qyHAi-007IHr-3f for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2023 19:46:36 +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 1qyHAf-008X3V-Pr for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2023 19:46:33 +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 1qyHAf-008X2x-ER for pgsql-general@lists.postgresql.org; Wed, 01 Nov 2023 19:46:33 +0000 Received: from smtp.burggraben.net ([2a01:4f8:140:510a::3]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyHAc-003UXp-CR for pgsql-general@lists.postgresql.org; Wed, 01 Nov 2023 19:46:32 +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 E4DF3C00317; Wed, 1 Nov 2023 20:46:25 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 80CD33AB02; Wed, 1 Nov 2023 20:46:25 +0100 (CET) Date: Wed, 1 Nov 2023 20:46:25 +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 Hi, please don't top-post. ## Atul Kumar (akumar14871@gmail.com): > I have already enabled log_hostname, still *client_hostname is not showing > up.* It's always helpful to mention relevant non-default settings along with the question. Was log_hostname really active at backup start time? (Check pg_settings before starting the backup). Can the server actually resolve the IP address to a host name? > Do you think that just because I use ip instead of hostname while using > pg_basebackup could be the reason for it ? No. Regards, Christoph -- Spare Space