Re: [HACKERS] INET and CIDR comparisons

Поиск
Список
Период
Сортировка
От D'Arcy" "J.M." Cain
Тема Re: [HACKERS] INET and CIDR comparisons
Дата
Msg-id m10pJLF-0000bIC@druid.net
обсуждение исходный текст
Ответ на Re: [HACKERS] INET and CIDR comparisons  (Don Baccus <dhogaza@pacifier.com>)
Список pgsql-hackers
Thus spake Don Baccus
> At 09:30 PM 6/1/99 -0400, 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.  I
> >am sending a patch in.
> 
> I've stayed out of this discussion, but Paul makes a lot of
> sense.  They're NOT the same networks...

Agreed.  My only point was that using the fields was probably a bad
idea anyway and, if you did, allowing both then made even less sense
but that's more of design issue.

In any case, if someone wants the protection, they can always add a unique
index on host(field).

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] current CVS snapshot of pgsql crash ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re:ORDER BY