Re: [HACKERS] cidr - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] cidr
Date
Msg-id 199807202336.TAA17660@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] cidr  (Paul A Vixie <vixie@vix.com>)
Responses Re: [HACKERS] cidr
Re: [HACKERS] cidr
List pgsql-hackers
> > > i didn't realize that anybody else was working on an IP address
> > > data type or i'd've posted this six months ago when i first wrote
> > > it.  it lacks only the stuff needed to make it usable as a UNIQUE
> > > KEY.  it depends on BIND-8's libraries.
> >
> > Interesting -- looks nice at first glance, and does some things that
> > neither Aleksei nor I had thought of.  I guess a merge of the three
> > variations is in order.  At least I'll be doing that locally, and will
> > make the result available.
>
> i would be happy if given a chance to consult with whomever wants to do
> the work of merging the various ipaddr proposals, and would even do some
> work if appropriate.  i would like an indexable "cidr" data type (you
> ought not call it an ipaddr, it can be either a net or a host, and the
> net is variable sized, so it really is a "cidr") to become part of the
> standard postgres system.  but i mostly want to use it in apps, and i
> mostly wanted to learn how to extend postgres -- i have no undying love
> for the implementation i posted here, nor do i know the process for making
> this a standard data type.  so, i will help if someone else is driving.

Sounds like a plan.  Paul is a DNS expert, and we have people involved
who know PostgreSQL well.

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.

--
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 by date:

Previous
From: Paul A Vixie
Date:
Subject: Re: [HACKERS] cidr
Next
From: Paul A Vixie
Date:
Subject: Re: [HACKERS] cidr