Re: non-ipv6 vs hostnames - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: non-ipv6 vs hostnames
Date
Msg-id 1313605713.19987.8.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: non-ipv6 vs hostnames  (<Charles.McDevitt@emc.com>)
List pgsql-hackers
On ons, 2011-08-17 at 13:12 -0400, Charles.McDevitt@emc.com wrote:
> > On tis, 2011-08-16 at 16:17 +0200, Magnus Hagander wrote:
> > > Well, I got this on a win64 build. It's *supposed* to have ipv6. I
> > > wonder if it breaks on windows just because there is no ipv6 address
> > > on the machine...
> > 
> > It would mean that getaddrinfo() of "::1" failed.  That seems weird.
> > 
> 
> A system admin can set registry keys to disable IPv6, either partially (allowing ::1), or totally (all IPv6 addresses
fail).
> 
> If the system has IPv6 enabled, it's not possible for there to be no ipv6 address.  There is always the link-local
addressof each LAN adapter.
 

The problem here is that the system cannot *parse* the address "::1".
This should not have anything to do with which addresses exist or could
exist.



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Re: [COMMITTERS] pgsql: In pg_upgrade, avoid dumping orphaned temporary tables. This ma
Next
From: Peter Eisentraut
Date:
Subject: Re: PATCH: Compiling PostgreSQL using ActiveState Python 3.2