Add missing fields to _outConstraint()

Peter Eisentraut <peter@eisentraut.org>

Commit: db9ec28d6416ef97dc9d8bd2aa959661dc29ff5c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-13T08:37:55Z
Releases: 11.18
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