Re: [HACKERS] [Fwd: [ANNOUNCE] ipaddr data type - EXTENDED VERSION HERE]

From: Tom Ivar Helbekkmo <tih+mail(at)Hamartun(dot)Priv(dot)NO>
To: dg(at)illustra(dot)com (David Gould)
Cc: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian), vadim(at)krs(dot)ru, alex(at)Relcom(dot)EU(dot)net, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] [Fwd: [ANNOUNCE] ipaddr data type - EXTENDED VERSION HERE]
Date: 1998-07-19 09:51:50
Message-ID: 8667gu418p.fsf@barsoom.Hamartun.Priv.NO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sorry I haven't commented on this earlier, but I have been very busy,
among other things becoming a father for the first time! :-)

dg(at)illustra(dot)com (David Gould) writes:

> Is this user-application compatible with our existing ip/contrib
> handling?

Mostly, yes. Aleksei Roudnev did a great job adding indexing to my IP
address data type, for which I'm very grateful, and he also added some
functions that can come in handy. Good work! I'll certainly be using
his index building technique extensively! However, it should be noted
that he's also built some assumptions into the current code that may
not be expected by all users. In particular, I dislike the hardcoding
of the notion of class A, B and C network, since that's outdated and
deprecated these days.

On the other hand, Aleksei has done some good thinking on how subnet
mask specifications can be useful in the data base, doing things like
storing router interface addresses and their netmasks in the same
record, as in 193.124.23.6/24.

Alex: maybe we can sort this out and put together a "final" version
that combines the best ideas? There's a whole unused byte in the data
structure right now, that could be put to use...

-tih
--
Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-07-19 09:59:30 Re: [HACKERS] Re: Having Patch (against v6.3.2)
Previous Message Bruce Momjian 1998-07-19 09:44:34 Re: [HACKERS] s_lock.h problem on S/Linux