Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpPCY-0007Hf-Nn for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 23:23:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpPCY-00015E-A6 for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 23:23:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpPBE-00071d-6I for pgsql-hackers@postgresql.org; Thu, 22 Oct 2015 23:21:56 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZpPBB-0002J6-Bj; Thu, 22 Oct 2015 23:21:54 +0000 Received: from intern.anarazel.de (host100-173-static.2-79-b.business.telecomitalia.it [79.2.173.100]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id C27D5860001; Fri, 23 Oct 2015 01:21:51 +0200 (CEST) Date: Fri, 23 Oct 2015 01:21:51 +0200 From: Andres Freund To: Tom Lane Cc: Tatsuo Ishii , noah@leadboat.com, robertmhaas@gmail.com, kondo@sraoss.co.jp, pgsql-hackers@postgresql.org Subject: Re: Re: [BUGS] BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::') Message-ID: <20151022232151.GN14196@alap3.anarazel.de> References: <1815.1444694857@sss.pgh.pa.us> <20151013020831.GC164717@tornado.leadboat.com> <20151023.080042.393745468058207046.t-ishii@sraoss.co.jp> <53500.1445555710@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53500.1445555710@sss.pgh.pa.us> X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2015-10-22 16:15:10 -0700, Tom Lane wrote: > AFAICS, the only hard-wired hostname reference in pg_ctl is "localhost", > not "127.0.0.1" (much less "0.0.0.0"). So what you're proposing doesn't > seem to me to have anything to do with what's there. I continue to think > that the OP's complaint is somehow founded on a bad address obtained by > looking up "localhost", because where else would it've come from? I've not read this thread, and this is just referencing the above: Perhaps we should start to emit a notice at startup if localhost doesn't resolve to either v4 or v6 definitions. The few environments where that's indeed intentionally not the case, should be fine with such a message at pgstat startup. - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers