mirror of
https://github.com/postgres/postgres.git
synced 2025-05-13 01:13:08 -04:00
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.
This commit is contained in:
parent
9da300128d
commit
abf46ad9c7
@ -714,6 +714,8 @@ _outConstraint(StringInfo str, const Constraint *node)
|
||||
WRITE_BOOL_FIELD(is_no_inherit);
|
||||
WRITE_NODE_FIELD(raw_expr);
|
||||
WRITE_STRING_FIELD(cooked_expr);
|
||||
WRITE_BOOL_FIELD(skip_validation);
|
||||
WRITE_BOOL_FIELD(initially_valid);
|
||||
break;
|
||||
|
||||
case CONSTR_PRIMARY:
|
||||
|
Loading…
x
Reference in New Issue
Block a user