Re: Ability to listen on two unix sockets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Honza Horak <hhorak(at)redhat(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>
Subject: Re: Ability to listen on two unix sockets
Date: 2012-06-07 16:20:32
Message-ID: 9884.1339086032@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On Thursday, June 07, 2012 05:55:11 PM Tom Lane wrote:
>> Honza Horak <hhorak(at)redhat(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-06-07 16:21:27 Re: XLog changes for 9.3
Previous Message Andres Freund 2012-06-07 16:19:38 Re: "page is not marked all-visible" warning in regression tests