Add missing fields to _outConstraint()

Peter Eisentraut <peter@eisentraut.org>

Commit: 94478f44a4a0628efa5f7f9184f528a12475a4a1
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-13T08:37:38Z
Releases: 15.0
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