Re: dblink does not resolve DNS, but works with IP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink does not resolve DNS, but works with IP
Дата
Msg-id 24298.1368623317@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dblink does not resolve DNS, but works with IP  (Mike Christensen <mike@kitchenpc.com>)
Ответы Re: dblink does not resolve DNS, but works with IP
Список pgsql-general
Mike Christensen <mike@kitchenpc.com> writes:
> Though I'm a bit curious why there's a host and hostaddr.  Why can't it
> just resolve whatever you give it?

Well, it will ... if you use the "host" parameter.  The whole point of
"hostaddr" is that for that parameter, it will not try a DNS lookup.
You'd only use that if you had issues with the speed or reliability
of your DNS service.

            regards, tom lane


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