]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:52:14 +0000 (08:52 +0200)
commit6bd18f176bd78ba3d235ec5d173288da94bbdbf1
tree5e22d32ff7ef688142b27a00b57f730d49eb6bd7
parentf01e16b1987e39dcdfd65f0c0c662b02cd8fcc10
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