From: Tom Lane <tgl@sss.pgh.pa.us>
To: Holger Klawitter <lists@klawitter.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Name Lookup Weirdness
Date: Fri, 05 Nov 2004 10:56:25 -0500
Message-ID: <26522.1099670185@sss.pgh.pa.us> (raw)
In-Reply-To: <200411051442.40153.lists@klawitter.de>
References: <200411051442.40153.lists@klawitter.de>
Holger Klawitter <lists@klawitter.de> writes:
> I have made a very weird observation with JDBC. After a major machine upgrade
> postgres 7.3.4 no longer accepts JDBC connection requests *of a certain
> kind*:
> jdbc:postgresql://my.host.name/dbname works
> jdbc:postgresql://127.0.0.1/dbname works
> jdbc:postgresql://localhost/dbname does not work?!
> jdbc:postgresql:dbname does not work
Something broken about your DNS configuration? Although it's not
obvious why "psql -h localhost dbname" wouldn't be affected too...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, lists@klawitter.de
Subject: Re: Name Lookup Weirdness
In-Reply-To: <26522.1099670185@sss.pgh.pa.us>
References: <200411051442.40153.lists@klawitter.de> <26522.1099670185@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox