]> 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:40 +0000 (08:52 +0200)
commit3f4069ca2c3efdc5d945fb7a4a5b4a1ecd176719
treed179b5b4fb1f8b74bcfc91b2a3e855a0bb08ae5d
parente082ef9c4282d4dd9c15585ef7a4da30db1289d5
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