diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:34:57 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:34:57 -0500 |
commit | 876cb81a119230525b8f3c0c4c77fc0c44f54d1c (patch) | |
tree | b2df1d984b8c28ec44d180f5861f467993db513a /src | |
parent | 5c85d1122b935a30f7cfb6a09ba282322b3b6bee (diff) | |
download | postgresql-876cb81a119230525b8f3c0c4c77fc0c44f54d1c.tar.gz postgresql-876cb81a119230525b8f3c0c4c77fc0c44f54d1c.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/nodes/outfuncs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 443be9a739f..15f0c94f1b4 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -1809,6 +1809,15 @@ _outDefElem(StringInfo str, DefElem *node) } static void +_outInhRelation(StringInfo str, InhRelation *node) +{ + WRITE_NODE_TYPE("INHRELATION"); + + WRITE_NODE_FIELD(relation); + WRITE_NODE_FIELD(options); +} + +static void _outLockingClause(StringInfo str, LockingClause *node) { WRITE_NODE_TYPE("LOCKINGCLAUSE"); @@ -2771,6 +2780,9 @@ _outNode(StringInfo str, void *obj) case T_DefElem: _outDefElem(str, obj); break; + case T_InhRelation: + _outInhRelation(str, obj); + break; case T_LockingClause: _outLockingClause(str, obj); break; |