]> 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:14:58 +0000 (02:14 -0400)
commite4a7c03febe94b0469641b469b29aef2a21ad12c
tree6b6e7af2d59fdd928ec34a4141058e4bc6357103
parentfb918740f307cdde41cca5368e96edea22e9614a
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