Skip site navigation (1) Skip section navigation (2)

Re: [COMMITTERS] pgsql: Clarify description of

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Clarify description of
Date: 2006-11-18 03:39:10
Message-ID: 4608.24.211.165.134.1163821150.squirrel@www.dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Tom Lane wrote:
> "Andrew Dunstan" <andrew(at)dunslane(dot)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.
>

No, I'm only suggesting that the confusion has much to do with the use of
abbreviated addresses and not much to do with use of CIDR masks. If we are
worried about the confusion we should spell out the problem explicitly.

cheers

andrew


In response to

pgsql-hackers by date

Next:From: Euler Taveira de OliveiraDate: 2006-11-18 03:40:09
Subject: Re: Brazilian FAQ update
Previous:From: Tom LaneDate: 2006-11-18 03:37:35
Subject: Re: zic data updates

pgsql-committers by date

Next:From: User DimDate: 2006-11-19 21:10:22
Subject: pgloader - pgloader: New Directory
Previous:From: Tom LaneDate: 2006-11-18 03:26:05
Subject: Re: [COMMITTERS] pgsql: Clarify description of CIDR-address column

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group