Re: Vector type (Re: challenging constraint situation - - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Vector type (Re: challenging constraint situation -
Date
Msg-id 447725F2.5040008@magproductions.nl
Whole thread Raw
In response to Re: Vector type (Re: challenging constraint situation - how do I make it)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> 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.

So, referring back to your example you mean that though B overlaps A,
and C overlaps B, C doesn't overlap A and thus they're not transitive.
I see.

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
    7500 AK Enschede

// Integrate Your World //

pgsql-general by date:

Previous
From: Rafal Pietrak
Date:
Subject: Re: Restricting access to rows?
Next
From: Scott Marlowe
Date:
Subject: Re: LDAP authentication