diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:34:50 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:34:50 -0500 |
| commit | 9f65a874ebf86291ca1f7920f74f6c9d6d20a213 (patch) | |
| tree | 3bdf16bba31e53809456daaffecd0c7622066860 /src/backend/nodes/outfuncs.c | |
| parent | 9e4b2139db4ce101c2d655325a4835d8e12f1c03 (diff) | |
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/backend/nodes/outfuncs.c')
| -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 ae0e2abd40a..030a675b7b6 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -1878,6 +1878,15 @@ _outDefElem(StringInfo str, DefElem *node) } static void +_outInhRelation(StringInfo str, InhRelation *node) +{ + WRITE_NODE_TYPE("INHRELATION"); + + WRITE_NODE_FIELD(relation); + WRITE_UINT_FIELD(options); +} + +static void _outLockingClause(StringInfo str, LockingClause *node) { WRITE_NODE_TYPE("LOCKINGCLAUSE"); @@ -2884,6 +2893,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; |
