On Saturday, June 09, 2012 11:43:53 PM Peter Eisentraut wrote:
> 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.
That doesn't help libpq using clients.
Andres
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services