Re: Ability to listen on two unix sockets - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Ability to listen on two unix sockets
Date
Msg-id 1339626585.11971.50.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Ability to listen on two unix sockets  (Honza Horak <hhorak@redhat.com>)
List pgsql-hackers
On tis, 2012-06-12 at 14:47 +0200, Honza Horak wrote:
> This could be true in case all listening ports are equal, which I
> guess isn't a good idea, because IIUIC the port number as a part of
> the socket name is used for distinguish sockets of various postmasters
> in the same directory. In that scenario every client should know which
> port to connect and also which one is primary.

Why?  The client won't care which port is primary or secondary or
whatever as long as it reaches the server.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Ability to listen on two unix sockets
Next
From: Peter Eisentraut
Date:
Subject: Re: Ability to listen on two unix sockets