Re: Ability to listen on two unix sockets

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Honza Horak <hhorak(at)redhat(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Ability to listen on two unix sockets
Date: 2012-06-13 22:29:45
Message-ID: 1339626585.11971.50.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-06-13 22:31:31 Re: Ability to listen on two unix sockets
Previous Message Peter Eisentraut 2012-06-13 22:28:08 Re: Ability to listen on two unix sockets