mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Add missing fields to _outConstraint()
As of 897795240c
, 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
c7bc39cec7
commit
94478f44a4
@ -3884,6 +3884,8 @@ _outConstraint(StringInfo str, const Constraint *node)
|
|||||||
WRITE_BOOL_FIELD(is_no_inherit);
|
WRITE_BOOL_FIELD(is_no_inherit);
|
||||||
WRITE_NODE_FIELD(raw_expr);
|
WRITE_NODE_FIELD(raw_expr);
|
||||||
WRITE_STRING_FIELD(cooked_expr);
|
WRITE_STRING_FIELD(cooked_expr);
|
||||||
|
WRITE_BOOL_FIELD(skip_validation);
|
||||||
|
WRITE_BOOL_FIELD(initially_valid);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CONSTR_PRIMARY:
|
case CONSTR_PRIMARY:
|
||||||
|
Loading…
Reference in New Issue
Block a user