View Single Post

   
  #1 (permalink)  
Old 04-12-2008, 06:38 AM
Tom Lane
 
Posts: n/a
Default Re: [COMMITTERS] pgsql: Clarify description of CIDR-address column

"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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote