Re: Ability to listen on two unix sockets

Поиск
Список
Период
Сортировка
От Honza Horak
Тема Re: Ability to listen on two unix sockets
Дата
Msg-id 4FE1AF97.5090905@redhat.com
обсуждение исходный текст
Ответ на Re: Ability to listen on two unix sockets  (Honza Horak <hhorak@redhat.com>)
Ответы Re: Ability to listen on two unix sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 06/15/2012 05:40 PM, Honza Horak wrote:
> I realized the patch has some difficulties -- namely the socket path in the data dir lock file, which currently uses
oneport for socket and the same for interface. So to allow users to use arbitrary port for all unix sockets, we'd need
toadd another line only for unix socket, which doesn't apply for other platforms. Or we could just say that the first
socketwill allways use the default port (PostPortNumber), which is a solution I prefer currently, but will be glad for
anyother opinion. This is also why there is still un-necesary string splitting in pg_ctl.c, which will be removed after
theissue above is solved. 
>

This is an enhanced patch, which forbids using a port number in the
first socket directory entry.

Honza

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH 04/16] Add embedded list interface (header only)
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [ADMIN] pg_basebackup blocking all queries with horrible performance