Re: non-ipv6 vs hostnames

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: non-ipv6 vs hostnames
Date: 2011-08-16 14:17:14
Message-ID: CABUevEwiL9jmzZjVt3sRSH7L-AL7u-c0HdZ=Noj-wKWFnrVFXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 16, 2011 at 16:12, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> Accidentally specifying an IPv6 address in pg_hba.conf on a system
>> that doesn't have ipv6 support gives the following error:
>
>> LOG:  specifying both host name and CIDR mask is invalid: "::1/128"
>
>> Which is obviously wrong, because I didn't do that. Do we need to
>> detect and special-case ipv6 addresses in this case?
>
> Doesn't really seem worth going out of our way for that.  Systems with
> no IPv6 support are a dying breed, and will be more so by the time 9.2
> gets deployed.

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...

Unfortunately I shut the machine down and won't have time to test more
right now, but I'll try to figure that out later unless beaten to
it...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-08-16 14:26:56 Re: Re: Should we have an optional limit on the recursion depth of recursive CTEs?
Previous Message Tom Lane 2011-08-16 14:12:49 Re: non-ipv6 vs hostnames