Re: Ability to listen on two unix sockets

Поиск
Список
Период
Сортировка
От Honza Horak
Тема Re: Ability to listen on two unix sockets
Дата
Msg-id 4FCF755C.8050606@redhat.com
обсуждение исходный текст
Ответ на Re: Ability to listen on two unix sockets  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Ability to listen on two unix sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 06/06/2012 04:50 PM, Andres Freund wrote:
> On Wednesday, June 06, 2012 04:38:42 PM Tom Lane wrote:
>> Florian Pflug<fgp@phlo.org>  writes:
>
>>> If we're going to have this at all, we should go all the way and
>>> support an arbitrary number of sockets.
>>
>> Well, that's what I wanted to discuss before Honza starts coding.
>> It's not obvious that there are any use-cases for more than two.
>> It's also not clear whether there is any value in supporting run-time
>> rather than build-time configuration of the socket locations.  The
>> Fedora use-case has no need of that, but if people can point to other
>> cases where it would be sensible, we can write the patch that way.
> I had the need to make pg available from multiple chroots via unix sockets.
> The same might come up more frequently with the availability of filesystem
> namespaces...

It seems you were not alone with such need:
http://archives.postgresql.org/pgsql-novice/2006-09/msg00172.php

Honza



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Ability to listen on two unix sockets
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Ability to listen on two unix sockets