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