On Mon, Jun 11, 2012 at 4:47 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
On sön, 2012-06-10 at 17:24 -0400, Robert Haas wrote: > >> and also affects the naming of any UNIX sockets created. > > > > Why would that matter? If you configure M ports and N Unix socket > > locations, you get M*N actual sockets created. > > ...I *seriously* doubt that this is the behavior anyone wants. > Creating M sockets per directory seems patently silly.
How else would it work?
If I say, syntax aside, listen on "ports" 5432 and 5433, and use socket directories /tmp and /var/run/postgresql, then a libpq-using client would expect to be able to connect using