Re: How do I setup this Exclusion Constraint?

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: bradford <fingermark(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I setup this Exclusion Constraint?
Date: 2012-05-01 17:26:40
Message-ID: CABvLTWFhW2Ke2DXjLPhFYa9ozQgN3i0HUpWfeNh8ADcJpcJ44w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, May 1, 2012 at 10:15 AM, bradford <fingermark(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message bradford 2012-05-01 17:39:38 Re: How do I setup this Exclusion Constraint?
Previous Message bradford 2012-05-01 17:15:47 How do I setup this Exclusion Constraint?