]> granicus.if.org Git - postgresql/commit
Address ccvalid/ccnoinherit in TupleDesc support functions.
authorNoah Misch <noah@leadboat.com>
Sun, 23 Mar 2014 06:13:43 +0000 (02:13 -0400)
committerNoah Misch <noah@leadboat.com>
Sun, 23 Mar 2014 06:15:09 +0000 (02:15 -0400)
commit1d1b32a9530ee20be98d4617b46f517f0d0250f2
treefdc17cb33572ff59bddf62e90b0a6a6e83476fba
parentee42d8f10b65593aab768438665000aec070f6c2
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.
src/backend/access/common/tupdesc.c