Re: Ability to listen on two unix sockets

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Ability to listen on two unix sockets
Дата
Msg-id 20120612213939.GD22649@momjian.us
обсуждение исходный текст
Ответ на Re: Ability to listen on two unix sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Ability to listen on two unix sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Restrict ALTER FUNCTION CALLED ON NULL INPUT (was Re: Not quite a security hole: CREATE LANGUAGE for non-superusers)
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: 9.3: load path to mitigate load penalty for checksums