Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f764ecd

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

File tree

Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed

‎src/backend/nodes/outfuncs.c

Copy file name to clipboardExpand all lines: src/backend/nodes/outfuncs.c
+15Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.