Skip to content

Commit f764ecd

Browse files
committed
Add outfuncs.c support for GatherPath.
I dunno how commit 3bd909b missed this, but it evidently did.
1 parent 7b6fb76 commit f764ecd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,18 @@ _outUniquePath(StringInfo str, const UniquePath *node)
17531753
WRITE_NODE_FIELD(uniq_exprs);
17541754
}
17551755

1756+
static void
1757+
_outGatherPath(StringInfo str, const GatherPath *node)
1758+
{
1759+
WRITE_NODE_TYPE("GATHERPATH");
1760+
1761+
_outPathInfo(str, (const Path *) node);
1762+
1763+
WRITE_NODE_FIELD(subpath);
1764+
WRITE_INT_FIELD(num_workers);
1765+
WRITE_BOOL_FIELD(single_copy);
1766+
}
1767+
17561768
static void
17571769
_outNestPath(StringInfo str, const NestPath *node)
17581770
{
@@ -3293,6 +3305,9 @@ _outNode(StringInfo str, const void *obj)
32933305
case T_UniquePath:
32943306
_outUniquePath(str, obj);
32953307
break;
3308+
case T_GatherPath:
3309+
_outGatherPath(str, obj);
3310+
break;
32963311
case T_NestPath:
32973312
_outNestPath(str, obj);
32983313
break;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy