pgsql: Address ccvalid/ccnoinherit in TupleDesc support functions. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Address ccvalid/ccnoinherit in TupleDesc support functions.
Date
Msg-id E1WRbyA-0005zd-40@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Address ccvalid/ccnoinherit in TupleDesc support functions.

equalTupleDescs() neglected both of these ConstrCheck fields, and
CreateTupleDescCopyConstr() neglected ccnoinherit.  At this time, the
only known behavior defect resulting from these omissions is constraint
exclusion disregarding a CHECK constraint validated by an ALTER TABLE
VALIDATE CONSTRAINT statement issued earlier in the same transaction.
Back-patch to 9.2, where these fields were introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c31305de5f5a4880b0ba2f5983025ef0210a3b2a

Modified Files
--------------
src/backend/access/common/tupdesc.c |    5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.
Next
From: Noah Misch
Date:
Subject: pgsql: Offer triggers on foreign tables.