Commit f764ecd8 authored by Robert Haas's avatar Robert Haas

Add outfuncs.c support for GatherPath.

I dunno how commit 3bd909b2 missed
this, but it evidently did.
parent 7b6fb763
...@@ -1753,6 +1753,18 @@ _outUniquePath(StringInfo str, const UniquePath *node) ...@@ -1753,6 +1753,18 @@ _outUniquePath(StringInfo str, const UniquePath *node)
WRITE_NODE_FIELD(uniq_exprs); WRITE_NODE_FIELD(uniq_exprs);
} }
static void
_outGatherPath(StringInfo str, const GatherPath *node)
{
WRITE_NODE_TYPE("GATHERPATH");
_outPathInfo(str, (const Path *) node);
WRITE_NODE_FIELD(subpath);
WRITE_INT_FIELD(num_workers);
WRITE_BOOL_FIELD(single_copy);
}
static void static void
_outNestPath(StringInfo str, const NestPath *node) _outNestPath(StringInfo str, const NestPath *node)
{ {
...@@ -3293,6 +3305,9 @@ _outNode(StringInfo str, const void *obj) ...@@ -3293,6 +3305,9 @@ _outNode(StringInfo str, const void *obj)
case T_UniquePath: case T_UniquePath:
_outUniquePath(str, obj); _outUniquePath(str, obj);
break; break;
case T_GatherPath:
_outGatherPath(str, obj);
break;
case T_NestPath: case T_NestPath:
_outNestPath(str, obj); _outNestPath(str, obj);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment