Re: Ability to listen on two unix sockets - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Ability to listen on two unix sockets
Date
Msg-id 20120612215937.GF22649@momjian.us
Whole thread Raw
In response to Re: Ability to listen on two unix sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jun 12, 2012 at 05:48:58PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > On Wed, Jun 06, 2012 at 10:38:42AM -0400, Tom Lane wrote:
> >> We already support multiple TCP sockets, so multiple Unix sockets
> >> shouldn't be that much extra trouble.
> 
> > We do?  I didn't think listening on multiple interfaces meant we
> > listened on multiple sockets.  Is there something else?
> 
> There's one socket for each entry in the listen_addresses list,
> plus one for the Unix socket.

Oh, how do we handle '*'?  We pass that to the kernel, I assume.  Shame
there is "wildcard" ability for unix domain sockets, which would use any
directory --- guess that wouldn't work out well.  ;-)

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: 9.3: load path to mitigate load penalty for checksums
Next
From: Tom Lane
Date:
Subject: Re: 9.3: load path to mitigate load penalty for checksums