pgsql: Fix _outConstraint() for "identity" constraints - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix _outConstraint() for "identity" constraints
Date
Msg-id E1oMOY6-000O9C-UH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix _outConstraint() for "identity" constraints

The set of fields printed by _outConstraint() in the CONSTR_IDENTITY
case didn't match the set of fields actually used in that case.  (The
code was probably uncarefully copied from the CONSTR_DEFAULT case.)
Fix that by using the right set of fields.  Since there is no read
support for this node type, this is really just for debugging output
right now, so it doesn't affect anything important.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bc11a7e2f350da9ae349087a2a79d14c8927e9fa

Modified Files
--------------
src/backend/nodes/outfuncs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Back-Patch "Add wait_for_subscription_sync for TAP tests."
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Reject MERGE in CTEs and COPY