Skip site navigation (1) Skip section navigation (2)

Re: CONSTRAINT does not show when applying a EXCLUDE constraint

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: rob(at)marjot-multisoft(dot)com
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: CONSTRAINT does not show when applying a EXCLUDE constraint
Date: 2010-12-27 21:02:03
Message-ID: AANLkTikyw1WUewcoNW0RWVRnJ3u712yQQ6KG+VXE1PVe@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
On Mon, Dec 27, 2010 at 12:50 PM, InterRob <rob(dot)marjot(at)gmail(dot)com> wrote:
> pgsql Command "\d test" produces the following:
>        Table "public.test"
>    Column   |  Type   | Modifiers
> ------------+---------+-----------
>  object_id  | integer |
>  subject_id | integer |
> Indexes:
>     "EXCL_double_combi" EXCLUDE USING btree (imm_least(subject_id,
> object_id) WITH =, imm_greatest(subject_id, object_id) WITH =)

I see.  Since exclusion constraints is a rather new feature, psql may
need some tweaking to report these constraints as constraints

-- 
Regards,
Richard Broersma Jr.

In response to

Responses

pgsql-general by date

Next:From: Tom LaneDate: 2010-12-27 21:13:39
Subject: Re: CONSTRAINT does not show when applying a EXCLUDE constraint
Previous:From: InterRobDate: 2010-12-27 20:50:57
Subject: Re: CONSTRAINT does not show when applying a EXCLUDE constraint

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group