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

Re: small exclusion constraints patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: small exclusion constraints patch
Date: 2010-07-16 00:46:22
Message-ID: 2047.1279241182@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> Currently, the check for exclusion constraints performs a sanity check
> that's slightly too strict -- it assumes that a tuple will conflict with
> itself. That is not always the case: the operator might be "<>", in
> which case it's perfectly valid for the search for conflicts to not find
> itself.

> This patch simply removes that sanity check, and leaves a comment in
> place.

Applied (for 9.1 only).

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-07-16 01:57:44
Subject: Re: SHOW TABLES
Previous:From: Alvaro HerreraDate: 2010-07-16 00:37:19
Subject: Re: SHOW TABLES

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