BUG #1045: hostname lookup in psql or libpg.sl does work - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1045: hostname lookup in psql or libpg.sl does work
Date
Msg-id 20040108205331.11FD8CF8757@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1045: hostname lookup in psql or libpg.sl does work
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1045
Logged by:          Keith Halewood

Email address:      keith_halewood@systems-intelligence.com

PostgreSQL version: 7.4

Operating system:   HP-UX 11i

Description:        hostname lookup in psql or libpg.sl does work

Details:

psql (and libpg.sl via the DBI and DBD::Pg interface) report:

psql: could not translate host name "ysolde" to address: host nor service
provided, or not known

despite ysolde, in this case, being available via the DNS and both nslookup
and dig (and all the other clients) correctly resolving names.

If 'ysolde' and its address are placed in the system's /etc/hosts file, psql
(and libpq.sl) is able to resolve an address and connect.

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Cygwin PostgreSQL 7.4.1 rules regression test failure
Next
From: Tom Lane
Date:
Subject: Re: character varying array bug in 7.4.1