Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpP4n-000701-KE for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 23:15:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpP4n-0004qr-6l for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 23:15:17 +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 1ZpP4l-0004pJ-UH for pgsql-hackers@postgresql.org; Thu, 22 Oct 2015 23:15:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpP4j-00028f-Di; Thu, 22 Oct 2015 23:15:14 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t9MNFABZ018561; Thu, 22 Oct 2015 19:15:10 -0400 From: Tom Lane To: Tatsuo Ishii cc: 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 '::') In-reply-to: <20151023.080042.393745468058207046.t-ishii@sraoss.co.jp> References: <1815.1444694857@sss.pgh.pa.us> <20151013020831.GC164717@tornado.leadboat.com> <20151023.080042.393745468058207046.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Fri, 23 Oct 2015 08:00:42 +0900" Date: Thu, 22 Oct 2015 16:15:10 -0700 Message-ID: <53500.1445555710@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Tatsuo Ishii writes: >> The original post used only "0.0.0.0" and "::", not "localhost" or anything >> else entailing name resolution. As I wrote above, Kondo proposed for pg_ctl >> to use PQping("host='127.0.0.1'") in place of PQping("host='0.0.0.0'"). >> That's all. pg_ctl would continue to use PQping("host='localhost'") where >> it's doing so today. 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? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers