Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b2638f

Browse files
committed
Add missing fields to _outConstraint()
As of8977952, check constraints canbe declared invalid. But that patch didn't update _outConstraint() toalso show the relevant struct fields (which were only applicable toforeign keys before that). This currently only affects debuggingoutput, so no impact in practice.
1 parent8e40d16 commit8b2638f

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
@@ -3554,6 +3554,8 @@ _outConstraint(StringInfo str, const Constraint *node)
35543554
WRITE_BOOL_FIELD(is_no_inherit);
35553555
WRITE_NODE_FIELD(raw_expr);
35563556
WRITE_STRING_FIELD(cooked_expr);
3557+
WRITE_BOOL_FIELD(skip_validation);
3558+
WRITE_BOOL_FIELD(initially_valid);
35573559
break;
35583560

35593561
caseCONSTR_PRIMARY:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp