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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
allow-exclude-ne.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-05-21 19:13:22 Re: Specification for Trusted PLs?
Previous Message Stephen Frost 2010-05-21 18:57:23 Re: Specification for Trusted PLs?