Re: non-ipv6 vs hostnames

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

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-08-16 14:17:14 Re: non-ipv6 vs hostnames
Previous Message Magnus Hagander 2011-08-16 14:02:17 Re: pg_stat_replication vs StandbyReplyMessage