Re: [COMMITTERS] pgsql: Clarify description of CIDR-address column - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Clarify description of CIDR-address column
Date
Msg-id 23650.1163817485@sss.pgh.pa.us
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Clarify description of CIDR-address  ("Florian G. Pflug" <fgp@phlo.org>)
Re: [COMMITTERS] pgsql: Clarify description of  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Clarify description of CIDR-address column of pg_hba.conf, to discourage
>> people from trying notations like '10.6/16', which is accepted but does
>> not mean what you probably think.  Per example from Paul Forgey.

> Isn't the real problem here that 10.6 doesn't mean what you probably think?

If you're proposing that we change the behavior of inet_aton(), I don't
think that's much of a solution, since then people who do remember the
old notation ... or recognize the analogy to IPv6 abbreviations, which
are not a lot different ... would get burnt.  We can't do it anyway on
most modern platforms, unless we want to replace all of getaddrinfo()
which seems pretty unappealing.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: zic data updates
Next
From: Gregory Stark
Date:
Subject: Re: [GENERAL] Shutting down a warm standby database in 8.2beta3