Re: [HACKERS] cidr

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] cidr
Дата
Msg-id 199807210309.XAA20270@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] cidr  (Paul A Vixie <vixie@vix.com>)
Список pgsql-hackers
> > As far as the name, we just want a name that makes it clear to novices what
> > the module does.  ip_and_mac is pretty clear.  I have no idea what a cidr
> > is.  If you can think of a more descriptive name, let's go for it.
>
> cidr = classless internet domain routing.  it's the "204.152.184/21" notation.
>
> i'm not sure we need a type name that makes sense to novices.  what we need
> is an example in the "type range" column.  if we can say that int2's allowed
> ranges are 0 to 65535 and have folks get what we mean without further intro,
> then we can teach novices about cidr by saying that allowable ranges are 0/0
> through 255.255.255.255/32.

If we make it a standard type, not contrib, we can add a pg_description
entry for it so \dT shows the valid range of values.
Functions/operators also get descriptions for \do and \df.  Should be
easy.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] cidr
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] cidr