From: | Andrew - Supernews <andrew+nonews(at)supernews(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Cleaning up the INET/CIDR mess |
Date: | 2006-01-25 17:41:00 |
Message-ID: | slrndtfe1b.d6t.andrew+nonews@atlantis.supernews.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2006-01-25, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> Agreed. 10.1 as 10.0.0.1 is an old behavior which has been removed from
> most modern versions of networking tools.
Indeed so. However the current behaviour has neither the merit of being
traditional nor the merit of being logical:
=> select '10.1'::cidr;
cidr
-------------
10.1.0.0/16
(1 row)
=> select '128.1'::cidr;
cidr
--------------
128.1.0.0/16
(1 row)
=> select '192.1'::cidr;
cidr
--------------
192.1.0.0/24
(1 row)
Having the behaviour be dependent on which part of the IP space is used
is a total nonsense on the modern, CIDR, internet! The C in CIDR even
stands for "Classless", so how can you ever justify introducing _new_,
non-traditional, dependencies on the traditional classes?
--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Atkins | 2006-01-25 17:49:53 | Re: Cleaning up the INET/CIDR mess |
Previous Message | Bruce Momjian | 2006-01-25 17:33:51 | Re: [PATCHES] Adding a --quiet option to initdb |