Re: [HACKERS] INET and CIDR comparisons

From: Todd Graham Lewis <tlewis(at)mindspring(dot)net>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] INET and CIDR comparisons
Date: 1999-06-02 02:56:59
Message-ID: Pine.LNX.4.04.9906012254380.25324-100000@reflections.eng.mindspring.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 1 Jun 1999, D'Arcy J.M. Cain wrote:

> I heard back from Paul Vixie and he says that it should be possible to
> store two values in a unique index if they differ only in netbits.

This is definitely true. E.g., we have an in-house database which records
internet address delegations wherein a.b.c.0/22 can be and often is the
parent of a.b.c.0/23. They should definitely be recignized as unique
from each other.

> I am sending a patch in.

Groovy. I'll be pestering the present developer of that database to
uniquify the index. 8^)

--
Todd Graham Lewis Postmaster, MindSpring Enterprises
tlewis(at)mindspring(dot)net (800) 719-4664, x22804

"A pint of sweat will save a gallon of blood." -- George S. Patton

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-06-02 03:34:59 Re: [HACKERS] INET and CIDR comparisons
Previous Message Don Baccus 1999-06-02 02:40:36 Re: [HACKERS] INET and CIDR comparisons