Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqKv4-0007xT-6o for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 13:33:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqKv3-0005YM-PU for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 13:33:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqKv3-0005YG-BC for pgsql-hackers@postgresql.org; Wed, 13 Apr 2016 13:33:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqKv0-0007ln-9x for pgsql-hackers@postgresql.org; Wed, 13 Apr 2016 13:33:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3DDXEtA019659; Wed, 13 Apr 2016 09:33:14 -0400 From: Tom Lane To: Michael Paquier cc: Magnus Hagander , Amit Kapila , pgsql-hackers Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()? In-reply-to: References: <4065.1452450340@sss.pgh.pa.us> <23991.1460505976@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Wed, 13 Apr 2016 21:20:57 +0900" Date: Wed, 13 Apr 2016 09:33:14 -0400 Message-ID: <19658.1460554394@sss.pgh.pa.us> X-Pg-Spam-Score: -2.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 Michael Paquier writes: > On Wed, Apr 13, 2016 at 9:06 AM, Tom Lane wrote: >> If there's other stuff using high ports on a particular buildfarm machine, >> you'd expect occasional random test failures due to this. The observed >> fact that some buildfarm critters are much more prone to this type of >> failure than others is well explained by this hypothesis. > Each test run uses its own custom unix_socket_directories, PGHOST is > enforced to use it, and all the port tests go through that as well. By that argument, we don't need the free-port-searching code on Unix at all. But this discussion is mostly about Windows machines. 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