| От | Tom Lane |
|---|---|
| Тема | Re: libpq host/hostaddr/conninfo inconsistencies |
| Дата | |
| Msg-id | 22313.1550764652@sss.pgh.pa.us обсуждение |
| Ответ на | Re: libpq host/hostaddr/conninfo inconsistencies (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: libpq host/hostaddr/conninfo inconsistencies
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> From my point of view, the issue here is that the way the
> documentation is written right now tends to lead people to believe
> that if they have a host name, they must pass it via host, and if they
> have an IP address, they must pass it via hostaddr. Thus pgAdmin 3,
> at least, had code to check whether the input looked like an IP
> address and put it into one field or the other accordingly. And
> that's stupid.
True, but isn't that because we fail to document at all that you
can put an IP address in "host"? Which your proposed patch didn't
change, IIRC.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера