Re: Exclusion Constraints on Arrays?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Exclusion Constraints on Arrays?
Дата
Msg-id CA+TgmoakBdj-i8DfXJKndpz=Jhut2ApWWTzVpcDSqHk3gsYidw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Exclusion Constraints on Arrays?  (Peter Geoghegan <peter@2ndquadrant.com>)
Ответы Re: Exclusion Constraints on Arrays?  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On Wed, May 23, 2012 at 1:34 PM, Peter Geoghegan <peter@2ndquadrant.com> wrote:
> 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."

I objected to it at the time, but lost the argument.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Exclusion Constraints on Arrays?
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Readme of Buffer Management seems to have wrong sentence