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

Commit9f65a87

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 parent9e4b213 commit9f65a87

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
@@ -1877,6 +1877,15 @@ _outDefElem(StringInfo str, DefElem *node)
18771877
WRITE_ENUM_FIELD(defaction,DefElemAction);
18781878
}
18791879

1880+
staticvoid
1881+
_outInhRelation(StringInfostr,InhRelation*node)
1882+
{
1883+
WRITE_NODE_TYPE("INHRELATION");
1884+
1885+
WRITE_NODE_FIELD(relation);
1886+
WRITE_UINT_FIELD(options);
1887+
}
1888+
18801889
staticvoid
18811890
_outLockingClause(StringInfostr,LockingClause*node)
18821891
{
@@ -2884,6 +2893,9 @@ _outNode(StringInfo str, void *obj)
28842893
caseT_DefElem:
28852894
_outDefElem(str,obj);
28862895
break;
2896+
caseT_InhRelation:
2897+
_outInhRelation(str,obj);
2898+
break;
28872899
caseT_LockingClause:
28882900
_outLockingClause(str,obj);
28892901
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp