Re: Name Lookup Weirdness - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Name Lookup Weirdness
Date
Msg-id Pine.BSO.4.56.0411051529280.28172@leary.csoft.net
Whole thread Raw
In response to Name Lookup Weirdness  (Holger Klawitter <lists@klawitter.de>)
List pgsql-jdbc

On Fri, 5 Nov 2004, Holger Klawitter wrote:

> 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

Possibly localhost resolves to an IPv6 address now?

> psql dbname                         works
> psql -h localhost dbname            works

Doesn't explain why this would work though.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
Next
From: Oliver Jowett
Date:
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"