Re: Vector type (Re: challenging constraint situation - how do I make it)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vector type (Re: challenging constraint situation - how do I make it)
Дата
Msg-id 25551.1148652459@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vector type (Re: challenging constraint situation -  (Alban Hertroys <alban@magproductions.nl>)
Ответы Re: Vector type (Re: challenging constraint situation -  (Alban Hertroys <alban@magproductions.nl>)
Список pgsql-general
Alban Hertroys <alban@magproductions.nl> writes:
> I'd say "unique constraint violation" right here (provided there's a
> unique constraint on this column, of course). The order in which these
> are inserted/updated doesn't seem to matter either. I'm afraid I'm still
> missing the point...

The point is that btree depends on a number of assumptions about the
behavior of the operators in an operator class, and one of those
assumptions is that "equality" is transitive.

            regards, tom lane

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Vector type (Re: challenging constraint situation -
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restricting access to rows?