Re: Ability to listen on two unix sockets

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Florian Pflug <fgp@phlo.org>, Honza Horak <hhorak@redhat.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-06-09T21:43:53Z
Lists: pgsql-hackers
On ons, 2012-06-06 at 11:21 -0400, Tom Lane wrote:
> I'm not really in favor of making /var/run be the out-of-the-box
> default, because it would discriminate against personal/testing
> installations (ie, you couldn't set it up without root privileges).
> It's a reasonable choice for distro-provided packages, but not so
> much for one-off builds --- think about the buildfarm if nothing else.
> 
> Having said that, if we made it easier to configure things that way
> than by patching the source, I bet Martin Pitt isn't going to object.
> 
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.
>