Skip site navigation (1) Skip section navigation (2)

Re: Name Lookup Weirdness

From: Kris Jurka <books(at)ejurka(dot)com>
To: Holger Klawitter <lists(at)klawitter(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Name Lookup Weirdness
Date: 2004-11-05 20:30:26
Message-ID: Pine.BSO.4.56.0411051529280.28172@leary.csoft.net (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2004-11-05 21:41:43
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
Previous:From: Kris JurkaDate: 2004-11-05 20:27:51
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group