Re: Exclude constraint problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Zepeda <zipzippy(at)sonic(dot)net>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Exclude constraint problem
Date: 2010-08-31 00:21:23
Message-ID: 20355.1283214083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alex Zepeda <zipzippy(at)sonic(dot)net> writes:
> If I try to manually add the constraint on the table I get:
> blockface=# alter table bus_positions add constraint "exclude_time_buffer" EXCLUDE USING gist (vehicle WITH =, buffer_time WITH &&, bbox_dup WITH &&);
> NOTICE: ALTER TABLE / ADD EXCLUDE will create implicit index "exclude_time_buffer" for table "bus_positions"
> ERROR: could not create exclusion constraint "exclude_time_buffer"

Try manually adding a similar constraint (ie, one redundant with the
existing one) on the source box. Does it work?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alex Zepeda 2010-08-31 01:04:29 Re: Exclude constraint problem
Previous Message Tom Lane 2010-08-31 00:06:38 Re: Exclude constraint problem