Re: What is happening on buildfarm member baiji? - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: What is happening on buildfarm member baiji?
Date
Msg-id 20070514130615.GB7531@tamriel.snowman.net
Whole thread Raw
In response to Re: What is happening on buildfarm member baiji?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: What is happening on buildfarm member baiji?  (Dave Page <dpage@postgresql.org>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> There is a related risk even on Unix machines: two postmasters can be
> started on the same port number if they have different settings of
> unix_socket_directory, and then it's indeterminate which one you will
> contact if you connect to the TCP port.  I seem to recall that we
> discussed this several years ago, and didn't really find a satisfactory
> way of interlocking the TCP port per se.

I'm curious as to which Unix systems allow multiple processes to listen
on the same port at the same time..  On Linux, and I thought on most,
you get an EADDRINUSE on the listen() call (which the postmaster should
pick up on and bomb out, which it may already).
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: What is happening on buildfarm member baiji?
Next
From: Dave Page
Date:
Subject: Re: What is happening on buildfarm member baiji?