Skip to content

Commit abf46ad

Browse files
committed
Add missing fields to _outConstraint()
As of 8977952, 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.
1 parent 9da3001 commit abf46ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ _outConstraint(StringInfo str, const Constraint *node)
714714
WRITE_BOOL_FIELD(is_no_inherit);
715715
WRITE_NODE_FIELD(raw_expr);
716716
WRITE_STRING_FIELD(cooked_expr);
717+
WRITE_BOOL_FIELD(skip_validation);
718+
WRITE_BOOL_FIELD(initially_valid);
717719
break;
718720

719721
case CONSTR_PRIMARY:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy