Add missing fields to _outConstraint()

Peter Eisentraut <peter@eisentraut.org>

Commit: 5dfb9583101069e87a784db47fd99ada8ac8d6b7
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-13T08:37:57Z
Releases: 10.23
Add missing fields to _outConstraint()

As of 897795240cfaaed724af2f53ed2c50c9862f951f, check constraints can
be declared invalid.  But that patch didn't update _outConstraint() to
also show the relevant struct fields (which were only applicable to
foreign keys before that).  This currently only affects debugging
output, so no impact in practice.

Files

PathChange+/−
src/backend/nodes/outfuncs.c modified +2 −0