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

small exclusion constraints patch

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: small exclusion constraints patch
Date: 2010-05-21 19:03:40
Message-ID: 1274468620.16366.3.camel@jdavis-laptop (view raw or flat)
Thread:
Lists: pgsql-hackers
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.

Regards,
	Jeff Davis

Attachment: allow-exclude-ne.patch
Description: text/x-patch (1.0 KB)

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-05-21 19:13:22
Subject: Re: Specification for Trusted PLs?
Previous:From: Stephen FrostDate: 2010-05-21 18:57:23
Subject: Re: Specification for Trusted PLs?

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