Fix _outConstraint() for "identity" constraints

Peter Eisentraut <peter@eisentraut.org>

Commit: 2f65ef5c5b6ba7033bab23871925ad73d8f1e312
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-12T06:52:32Z
Releases: 12.13
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