Fix _outConstraint() for "identity" constraints
authorPeter Eisentraut <[email protected]>
Fri, 12 Aug 2022 06:17:30 +0000 (08:17 +0200)
committerPeter Eisentraut <[email protected]>
Fri, 12 Aug 2022 06:52:45 +0000 (08:52 +0200)
commite1878cf94134429bf951b41ed523363c2fa2d6b4
treeff42280d76a8b153f6d71511888e7a9870abbc9c
parent15014b82320347981b7f25fdad0ccb08870337cb
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.
src/backend/nodes/outfuncs.c