diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:35:13 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-11-13 00:35:13 -0500 |
commit | 40da2c778c2086171fa7868e54d254754766d26e (patch) | |
tree | 544ebe3cc70100f511a5148e6a1b121fb40a860d | |
parent | faea08353120ed455df84ba30c07505248f5332b (diff) | |
download | postgresql-40da2c778c2086171fa7868e54d254754766d26e.tar.gz |
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.
-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 3d2b2f7972..75a9fa39f4 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -1376,6 +1376,15 @@ _outDefElem(StringInfo str, DefElem *node) } static void +_outInhRelation(StringInfo str, InhRelation *node) +{ + WRITE_NODE_TYPE("INHRELATION"); + + WRITE_NODE_FIELD(relation); + WRITE_BOOL_FIELD(including_defaults); +} + +static void _outLockingClause(StringInfo str, LockingClause *node) { WRITE_NODE_TYPE("LOCKINGCLAUSE"); @@ -2099,6 +2108,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; |