Re: Ability to listen on two unix sockets

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Honza Horak <hhorak@redhat.com>
Cc: Andres Freund <andres@2ndquadrant.com>, pgsql-hackers@postgresql.org, Florian Pflug <fgp@phlo.org>
Date: 2012-06-07T15:55:11Z
Lists: pgsql-hackers
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.

			regards, tom lane