diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-11-11 06:29:03 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-11-11 06:29:03 -0500 |
commit | f764ecd81b2a8a1e9000d43a73ca5eec8e8008bc (patch) | |
tree | b8c0ed7351f4b4ff539b2bd5fe0d3a43d712fa65 /src | |
parent | 7b6fb76349fccc38f0ef96166f207c6acd21968c (diff) | |
download | postgresql-f764ecd81b2a8a1e9000d43a73ca5eec8e8008bc.tar.gz postgresql-f764ecd81b2a8a1e9000d43a73ca5eec8e8008bc.zip |
Add outfuncs.c support for GatherPath.
I dunno how commit 3bd909b220930f21d6e15833a17947be749e7fde missed
this, but it evidently did.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/nodes/outfuncs.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 3e75cd1146d..3d3a7744b52 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -1754,6 +1754,18 @@ _outUniquePath(StringInfo str, const UniquePath *node) } 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 _outNestPath(StringInfo str, const NestPath *node) { WRITE_NODE_TYPE("NESTPATH"); @@ -3293,6 +3305,9 @@ _outNode(StringInfo str, const void *obj) case T_UniquePath: _outUniquePath(str, obj); break; + case T_GatherPath: + _outGatherPath(str, obj); + break; case T_NestPath: _outNestPath(str, obj); break; |