Re: Name Lookup Weirdness - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Name Lookup Weirdness
Date
Msg-id 26522.1099670185@sss.pgh.pa.us
Whole thread Raw
In response to Name Lookup Weirdness  (Holger Klawitter <lists@klawitter.de>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Markus Schaber
Date:
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
Next
From: Kris Jurka
Date:
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"