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-20 11:10:15 |
Message-ID: | 4FE1AF97.5090905@redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 one port for socket and the same for interface. So to allow users to use arbitrary port for all unix sockets, we'd need to add another line only for unix socket, which doesn't apply for other platforms. Or we could just say that the first socket will allways use the default port (PostPortNumber), which is a solution I prefer currently, but will be glad for any other opinion. This is also why there is still un-necesary string splitting in pg_ctl.c, which will be removed after the issue above is solved.
>
This is an enhanced patch, which forbids using a port number in the
first socket directory entry.
Honza
Attachment | Content-Type | Size |
---|---|---|
multiple-socket-dirs.patch | text/x-patch | 27.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2012-06-20 11:18:23 | Re: [ADMIN] pg_basebackup blocking all queries with horrible performance |
Previous Message | Andres Freund | 2012-06-20 10:59:45 | Re: [PATCH 04/16] Add embedded list interface (header only) |