Skip to content

Commit 2138c70

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 missing anything else.
1 parent 52e2c12 commit 2138c70

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+
static void
1946+
_outInhRelation(StringInfo str, InhRelation *node)
1947+
{
1948+
WRITE_NODE_TYPE("INHRELATION");
1949+
1950+
WRITE_NODE_FIELD(relation);
1951+
WRITE_UINT_FIELD(options);
1952+
}
1953+
19451954
static void
19461955
_outLockingClause(StringInfo str, LockingClause *node)
19471956
{
@@ -2963,6 +2972,9 @@ _outNode(StringInfo str, void *obj)
29632972
case T_DefElem:
29642973
_outDefElem(str, obj);
29652974
break;
2975+
case T_InhRelation:
2976+
_outInhRelation(str, obj);
2977+
break;
29662978
case T_LockingClause:
29672979
_outLockingClause(str, obj);
29682980
break;

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