Ah, gotcha! I guess whatever sample I was originally copying from used hostaddr for some reason.. Thanks for the clarification, Tom!
On Wed, May 15, 2013 at 6:08 AM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Mike Christensen <mike@xxxxxxxxxxxxx> writes:Well, it will ... if you use the "host" parameter. The whole point of
> Though I'm a bit curious why there's a host and hostaddr. Why can't it
> just resolve whatever you give it?
"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