Re: Ability to listen on two unix sockets

From: Honza Horak <hhorak(at)redhat(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>
Subject: Re: Ability to listen on two unix sockets
Date: 2012-06-15 12:10:21
Message-ID: 4FDB262D.70607@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
multiple-socket-dirs.patch text/x-patch 25.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-06-15 12:13:04 Re: [PATCH] Lazy hashaggregate when no aggregation is needed
Previous Message Etsuro Fujita 2012-06-15 10:55:41 Re: [PATCH] Lazy hashaggregate when no aggregation is needed