pgsql: Address ccvalid/ccnoinherit in TupleDesc support functions.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Address ccvalid/ccnoinherit in TupleDesc support functions.
Date: 2014-03-23 06:33:18
Message-ID: E1WRbyA-0005zo-BM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1d1b32a9530ee20be98d4617b46f517f0d0250f2

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

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2014-03-23 07:49:52 pgsql: Don't test xmin/xmax columns of a postgres_fdw foreign table.
Previous Message Andrew Dunstan 2014-03-22 13:33:23 Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.