mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Add outfuncs.c support for GatherPath.
I dunno how commit 3bd909b220
missed
this, but it evidently did.
This commit is contained in:
parent
7b6fb76349
commit
f764ecd81b
@ -1753,6 +1753,18 @@ _outUniquePath(StringInfo str, const UniquePath *node)
|
||||
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
|
||||
_outNestPath(StringInfo str, const NestPath *node)
|
||||
{
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user