pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()?
Date: Wed, 13 Apr 2016 09:33:14 -0400
Message-ID: <19658.1460554394@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqRYPvYW9deTciZvSxMxiZ=Lp407_tEjZR6aQS4XVLbU+A@mail.gmail.com>
References: <4065.1452450340@sss.pgh.pa.us>
	<CAA4eK1L75jQgDY6PL5pSh9OxmDx5eYZX+E5YFZVWVyUXB9ZuEQ@mail.gmail.com>
	<CABUevExPNDmQWT9H2GSs72G5itjx0ow7e_A8Djg38o2oNH-zvw@mail.gmail.com>
	<23991.1460505976@sss.pgh.pa.us>
	<CAB7nPqRYPvYW9deTciZvSxMxiZ=Lp407_tEjZR6aQS4XVLbU+A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Apr 13, 2016 at 9:06 AM, Tom Lane <tgl@sss.pgh.pa.us> 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



view thread (19+ messages)  latest in thread

Message-ID: <19658.1460554394@sss.pgh.pa.us>
Permalink:  ../19658.1460554394@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19658.1460554394@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, magnus@hagander.net, amit.kapila16@gmail.com
  Subject: Re: Why doesn't src/backend/port/win32/socket.c implement bind()?
  In-Reply-To: <19658.1460554394@sss.pgh.pa.us>
  References: <4065.1452450340@sss.pgh.pa.us> <CAA4eK1L75jQgDY6PL5pSh9OxmDx5eYZX+E5YFZVWVyUXB9ZuEQ@mail.gmail.com> <CABUevExPNDmQWT9H2GSs72G5itjx0ow7e_A8Djg38o2oNH-zvw@mail.gmail.com> <23991.1460505976@sss.pgh.pa.us> <CAB7nPqRYPvYW9deTciZvSxMxiZ=Lp407_tEjZR6aQS4XVLbU+A@mail.gmail.com> <19658.1460554394@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox