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