Re: Ability to listen on two unix sockets
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Honza Horak <hhorak@redhat.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>, Florian Pflug <fgp@phlo.org>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-06-13T22:29:45Z
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.