Fix _outConstraint() for "identity" constraints

Peter Eisentraut <peter@eisentraut.org>

Commit: e1878cf94134429bf951b41ed523363c2fa2d6b4
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-12T06:52:45Z
Releases: 15.0
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.

Files

PathChange+/−
src/backend/nodes/outfuncs.c modified +1 −2