Re: [HACKERS] cidr

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vixie(at)vix(dot)com (Paul A Vixie)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] cidr
Date: 1998-07-21 03:09:35
Message-ID: 199807210309.XAA20270@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-07-21 03:17:54 Re: [HACKERS] cidr
Previous Message Bruce Momjian 1998-07-21 03:06:20 Re: [HACKERS] cidr