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

From Peter Eisentraut
Subject Re: Ability to listen on two unix sockets
Date
Msg-id 1339281459.5751.28.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Ability to listen on two unix sockets  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Ability to listen on two unix sockets
List pgsql-hackers
On sön, 2012-06-10 at 00:25 +0200, Andres Freund wrote:
> > > > We already have the ability to configure the Unix socket
> directory in
> > > > postgresql.conf.  All you need to do is turn that into a list.
> > > That doesn't help libpq using clients.
> > There is no mandate here to do anything about that.
> Well, Martin Pitt/the debian package is patching exactly that. Youre
> saying 
> that everything that needs to be done to make that easier is to make 
> unix_socket_dir a list. So there seems to be some disparity there ;)
> 
The Debian package doesn't need any change or assistance, really.  You
can change the default location of the socket by patching
pg_config_manual.h, and that's a one-liner.  The only thing that would
make that slightly easier or better is making it a configure option, but
that was intentionally decided against in the old days (not by me).




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ability to listen on two unix sockets
Next
From: Peter Eisentraut
Date:
Subject: Re: Ability to listen on two unix sockets