Fix _outConstraint() for "identity" constraints
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Aug 2022 06:17:30 +0000 (08:17 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Aug 2022 06:17:30 +0000 (08:17 +0200)
commite7a552f303c56788d52ca4e46490236845662734
tree4257002eaed7a22ce716a9926443d693b92797dc
parent34dffa0224bd34e0fa27b464f1821c9c43f07703
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