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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alban Hertroys <alban(at)magproductions(dot)nl>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Vector type (Re: challenging constraint situation - how do I make it)
Date: 2006-05-26 14:07:39
Message-ID: 25551.1148652459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alban Hertroys <alban(at)magproductions(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nik 2006-05-26 14:12:05 Re: Insert into partition table hangs
Previous Message Alban Hertroys 2006-05-26 14:04:27 Re: Vector type (Re: challenging constraint situation -