Re: dblink does not resolve DNS, but works with IP - Mailing list pgsql-general

From Tom Lane
Subject Re: dblink does not resolve DNS, but works with IP
Date
Msg-id 24298.1368623317@sss.pgh.pa.us
Whole thread Raw
In response to Re: dblink does not resolve DNS, but works with IP  (Mike Christensen <mike@kitchenpc.com>)
Responses Re: dblink does not resolve DNS, but works with IP  (Mike Christensen <mike@kitchenpc.com>)
List 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 by date:

Previous
From: sumita
Date:
Subject: Re: FATAL: database "a/system_data" does not exist
Next
From: Adrian Klaver
Date:
Subject: Re: FATAL: database "a/system_data" does not exist