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

Commit2138c70

Browse files
committed
Add missing outfuncs.c support for struct InhRelation.
This is needed to support debug_print_parse, per report from Jon Nelson.Cursory testing via the regression tests suggests we aren't missinganything else.
1 parent52e2c12 commit2138c70

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/backend/nodes/outfuncs.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,6 +1942,15 @@ _outDefElem(StringInfo str, DefElem *node)
19421942
WRITE_ENUM_FIELD(defaction,DefElemAction);
19431943
}
19441944

1945+
staticvoid
1946+
_outInhRelation(StringInfostr,InhRelation*node)
1947+
{
1948+
WRITE_NODE_TYPE("INHRELATION");
1949+
1950+
WRITE_NODE_FIELD(relation);
1951+
WRITE_UINT_FIELD(options);
1952+
}
1953+
19451954
staticvoid
19461955
_outLockingClause(StringInfostr,LockingClause*node)
19471956
{
@@ -2963,6 +2972,9 @@ _outNode(StringInfo str, void *obj)
29632972
caseT_DefElem:
29642973
_outDefElem(str,obj);
29652974
break;
2975+
caseT_InhRelation:
2976+
_outInhRelation(str,obj);
2977+
break;
29662978
caseT_LockingClause:
29672979
_outLockingClause(str,obj);
29682980
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp