non-ipv6 vs hostnames - Mailing list pgsql-hackers

From Magnus Hagander
Subject non-ipv6 vs hostnames
Date
Msg-id CABUevEySfnw0kXMwaKc_iamVZ0h2z138nHiCgDmEPRYmbR=MHg@mail.gmail.com
Whole thread Raw
Responses Re: non-ipv6 vs hostnames
List pgsql-hackers
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?

FWIW, the line was simply:
host    replication     all ::1/128                 trust

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


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: WIP: Fast GiST index build
Next
From: Robert Haas
Date:
Subject: Re: Backup's from standby