Add missing fields to _outConstraint()

Peter Eisentraut <peter@eisentraut.org>

Commit: abf46ad9c7b3748e9c36cf6020206064e69cea7e
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-13T08:32:38Z
Releases: 16.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