Re: Exclusion Constraints on Arrays?

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Exclusion Constraints on Arrays?
Date: 2012-05-23 17:34:01
Message-ID: CAEYLb_VDAcedms-hvUpCLWq94P+omNnL_K+3YMv6j_0=v-81YA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13 May 2012 23:45, Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-05-23 17:35:24 Re: Exclusion Constraints on Arrays?
Previous Message Robert Haas 2012-05-23 17:33:56 spgist metapage