Thread: pgsql: Fix _outConstraint() for "identity" constraints

pgsql: Fix _outConstraint() for "identity" constraints

From
Peter Eisentraut
Date:
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_13_STABLE

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

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