Re: [HACKERS] List of hostaddrs not supported

Поиск
Список
Период
Сортировка
От Mithun Cy
Тема Re: [HACKERS] List of hostaddrs not supported
Дата
Msg-id CAD__OujJmjd35cCgaoMoQBdYS1OGJ+qA2vDJcP8PBrTd3Pi6eA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] List of hostaddrs not supported  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Fri, Jun 9, 2017 at 3:22 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> Hmm, there is one problem with our current use of comma as a separator: you
> cannot use a Unix-domain socket directory that has a comma in the name,
> because it's interpreted as multiple hostnames. E.g. this doesn't work:
>
> psql "host=/tmp/dir,with,commas"
>
> For hostnames, ports, and network addresses (hostaddr), a comma is not a
> problem, as it's not a valid character in any of those.
>
> I don't know if that was considered when this patch was developed. I
> couldn't find a mention of this in the archives. But in any case, that's
> quite orthogonal to the rest of this thread.

I think this was found earlier [1]. But It appeared difficult to fix without breaking other API's behavior [2]

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] List of hostaddrs not supported
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] List of hostaddrs not supported