Re: Ability to listen on two unix sockets - Mailing list pgsql-hackers

From Honza Horak
Subject Re: Ability to listen on two unix sockets
Date
Msg-id 4FDB262D.70607@redhat.com
Whole thread Raw
In response to Re: Ability to listen on two unix sockets  (Honza Horak <hhorak@redhat.com>)
Responses Re: Ability to listen on two unix sockets  (Honza Horak <hhorak@redhat.com>)
List pgsql-hackers
On 06/13/2012 03:25 PM, Honza Horak wrote:
> Going through the thread, I'd like to sum it up choosing approach with
> less potential issues and would like to find a consensus if possible.
>
> It seems unix_socket_directory could be turned into list and probably
> renamed to unix_socket_directories, since it would be confusing if a
> list value is in singular. On the other hand, we probably don't want to
> specify listening ports together with additional unix sockets in one
> configuration option, so it seems better to add a new configuration
> option to distinguish the primary listening port from additional ports.
>
> Regards,
> Honza

A draft patch is attached. It renames unix_socket_directory to
unix_socket_directories and allows to use directory:port to be able to
create more sockets in one directory with different port number in the
socket name.

Regards,
Honza

Attachment

pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: [PATCH] Lazy hashaggregate when no aggregation is needed
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] Lazy hashaggregate when no aggregation is needed