Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mliXY-0003r8-Ij for pgsql-bugs@arkaria.postgresql.org; Sat, 13 Nov 2021 02:13:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mliXW-0000d1-Ut for pgsql-bugs@arkaria.postgresql.org; Sat, 13 Nov 2021 02:13:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mliXW-0000cs-Mr for pgsql-bugs@lists.postgresql.org; Sat, 13 Nov 2021 02:13:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mliXQ-0000oi-GO for pgsql-bugs@lists.postgresql.org; Sat, 13 Nov 2021 02:13:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1AD2CxVP1872738; Fri, 12 Nov 2021 21:13:00 -0500 From: Tom Lane To: treysis@gmx.net cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17283: localhost should also include IPv6 In-reply-to: <17283-ad8b80401ffe779e@postgresql.org> References: <17283-ad8b80401ffe779e@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 13 Nov 2021 01:04:15 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1872736.1636769579.1@sss.pgh.pa.us> Date: Fri, 12 Nov 2021 21:12:59 -0500 Message-ID: <1872737.1636769579@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Currently, PostgreSQL defaults to listen on 'localhost', which translates to > single-stack IPv4 loopback address 127.0.0.1. The definition of "localhost" is determined by your local DNS configuration, not by Postgres. regards, tom lane