pgsql: check_exclusion_constraint didn't actually work correctly for

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: check_exclusion_constraint didn't actually work correctly for
Date: 2010-01-02 17:53:57
Message-ID: 20100102175357.1ABB3753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
check_exclusion_constraint didn't actually work correctly for index
expressions: FormIndexDatum requires the estate's scantuple to already point
at the tuple the values are supposedly being extracted from. Adjust test
case so that this type of confusion will be exposed.
Per report from hubert depesz lubaczewski.

Modified Files:
--------------
pgsql/src/backend/executor:
execUtils.c (r1.168 -> r1.169)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execUtils.c?r1=1.168&r2=1.169)
pgsql/src/test/regress/input:
constraints.source (r1.14 -> r1.15)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/input/constraints.source?r1=1.14&r2=1.15)
pgsql/src/test/regress/output:
constraints.source (r1.47 -> r1.48)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/output/constraints.source?r1=1.47&r2=1.48)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-02 20:59:16 pgsql: Fix similar_escape() to convert parentheses to non-capturing
Previous Message Tom Lane 2010-01-02 16:09:06 Re: pgsql: Fix one more cast for _open_osfhandle().