Fix _outConstraint() for "identity" constraints

Peter Eisentraut <peter@eisentraut.org>

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