Re: Cleaning up the INET/CIDR mess

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: Cleaning up the INET/CIDR mess
Дата
Msg-id slrndtfe1b.d6t.andrew+nonews@atlantis.supernews.net
обсуждение исходный текст
Ответ на Re: Cleaning up the INET/CIDR mess  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Cleaning up the INET/CIDR mess  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Cleaning up the INET/CIDR mess  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
On 2006-01-25, Bruce Momjian <pgman@candle.pha.pa.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Adding a --quiet option to initdb
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [PATCHES] Adding a --quiet option to initdb