Re: Ability to listen on two unix sockets
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org, Honza Horak <hhorak@redhat.com>, Florian Pflug <fgp@phlo.org>
Date: 2012-06-07T16:20:32Z
Lists: pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes: > 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 don't really want to go there. > 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... I don't find that "nice" at all. Which server did you actually connect to? How do you control it? You're going to end up needing the -h switch anyway. regards, tom lane