Re: Ability to listen on two unix sockets
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Florian Pflug <fgp@phlo.org>, Honza Horak <hhorak@redhat.com>, pgsql-hackers@postgresql.org
Date: 2012-06-12T21:39:39Z
Lists: pgsql-hackers
On Wed, Jun 06, 2012 at 10:38:42AM -0400, Tom Lane wrote: > Florian Pflug <fgp@phlo.org> writes: > > Couldn't you simply tell postgres to put it's socket in, say, /var/run, and create a symlink to that socket in the global /tmp directory? > > FYI, this proposal emerged out of a discussion between Honza and > myself. "Use a symlink" was my first idea too, but on reflection > it seems like it will take less new code to support two sockets. > We already support multiple TCP sockets, so multiple Unix sockets --------------------------------------- > shouldn't be that much extra trouble. We do? I didn't think listening on multiple interfaces meant we listened on multiple sockets. Is there something else? -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +