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

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 (view raw or flat)
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)

pgsql-committers by date

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

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