Re: small exclusion constraints patch
От | David Fetter |
---|---|
Тема | Re: small exclusion constraints patch |
Дата | |
Msg-id | 20100529233248.GA3615@fetter.org обсуждение исходный текст |
Ответ на | Re: small exclusion constraints patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On Sat, May 29, 2010 at 06:11:57PM -0400, Tom Lane wrote: > Robert Haas <robertmhaas@gmail.com> writes: > > The only disadvantage I see of just documenting this is that > > someone might write a user-defined index opclass that works like > > this, and they won't be able to use this until at least 9.1 (or at > > least, not without patching the source). > > I don't actually think that anyone's very likely to write a <>-like > index operator. It's approximately useless to use an index for such > a query. > > Or, to put it differently: if nobody's done that in the past twenty > years, why is it likely to happen before 9.1? Because there's a fundamentally new way to use them now, namely with exclusion constraints :) Cheers, David. -- David Fetter <david@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: