Re: Name Lookup Weirdness

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Holger Klawitter <lists(at)klawitter(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Name Lookup Weirdness
Date: 2004-11-05 15:56:25
Message-ID: 26522.1099670185@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Holger Klawitter <lists(at)klawitter(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-11-05 20:27:51 Re: 8.0.0beta4: "copy" and "client_encoding"
Previous Message Markus Schaber 2004-11-05 15:03:24 Re: 8.0.0beta4: "copy" and "client_encoding"