Re: Exclusion Constraints on Arrays? - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Exclusion Constraints on Arrays?
Date
Msg-id CAEYLb_VDAcedms-hvUpCLWq94P+omNnL_K+3YMv6j_0=v-81YA@mail.gmail.com
Whole thread Raw
In response to Re: Exclusion Constraints on Arrays?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Exclusion Constraints on Arrays?
List pgsql-hackers
On 13 May 2012 23:45, Robert Haas <robertmhaas@gmail.com> wrote:
> Hmm, it looks like GIN can't support exclusive constraints because
> amgettuple support is required, and unfortunately that got remove for
> GIN in this commit:
>
> commit ff301d6e690bb5581502ea3d8591a1600fd87acc

That seems very unfortunate, given that the 9.0 release notes say:

"Exclusion constraints generalize uniqueness constraints by allowing
arbitrary comparison operators, not just equality....This is useful
for time periods and other ranges, as well as arrays."

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: spgist metapage
Next
From: Robert Haas
Date:
Subject: Re: Exclusion Constraints on Arrays?