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.
WRITE_ENUM_FIELD(defaction, DefElemAction);
}
+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)
{
case T_DefElem:
_outDefElem(str, obj);
break;
+ case T_InhRelation:
+ _outInhRelation(str, obj);
+ break;
case T_LockingClause:
_outLockingClause(str, obj);
break;