Re: Ability to listen on two unix sockets
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: pgsql-hackers@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Honza Horak <hhorak@redhat.com>, Florian Pflug <fgp@phlo.org>
Date: 2012-06-07T15:57:50Z
Lists: pgsql-hackers
On Thursday, June 07, 2012 05:55:11 PM Tom Lane wrote: > Honza Horak <hhorak@redhat.com> writes: > > On 06/06/2012 04:50 PM, Andres Freund wrote: > >> I wonder if the whole issue doesn't require libpq to also try multiple > >> hardcoded socket locations. > > > > I guess so. > > I don't really want to go there. Some use cases have been shown in > this thread for having a server listen in multiple places, but that does > not translate to saying that clients need to support automatically > looking in multiple places. I think that mainly introduces questions we > could do without, like which server did you actually end up contacting. It would be really nice to have a development psql connect to a distro installed psql and vice versa without having to specify -h /var/run/psql and - h /tmp all the time... Andres -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services