Re: How do I setup this Exclusion Constraint?

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: How do I setup this Exclusion Constraint?
Дата
Msg-id CABvLTWFhW2Ke2DXjLPhFYa9ozQgN3i0HUpWfeNh8ADcJpcJ44w@mail.gmail.com
обсуждение исходный текст
Ответ на How do I setup this Exclusion Constraint?  (bradford <fingermark@gmail.com>)
Ответы Re: How do I setup this Exclusion Constraint?  (bradford <fingermark@gmail.com>)
Список pgsql-general
On Tue, May 1, 2012 at 10:15 AM, bradford <fingermark@gmail.com> wrote:
> I'm trying to used what I learned in
> http://www.depesz.com/2010/01/03/waiting-for-8-5-exclusion-constraints/,
> but I cannot figure out how to apply this exclusion constraint to col1
> (integer) + col2 (varchar).

Take a look at Btree_gist index:
http://www.postgresql.org/docs/9.1/static/btree-gist.html

I think this is the part that your missing.


--
Regards,
Richard Broersma Jr.

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

Предыдущее
От: bradford
Дата:
Сообщение: How do I setup this Exclusion Constraint?
Следующее
От: bradford
Дата:
Сообщение: Re: How do I setup this Exclusion Constraint?