MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecEndMergeAppend

Function ExecEndMergeAppend

src/backend/executor/nodeMergeAppend.c:341–359  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndMergeAppend * * Shuts down the subscans of the MergeAppend node. * * Returns nothing of interest. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

339 * ----------------------------------------------------------------
340 */
341void
342ExecEndMergeAppend(MergeAppendState *node)
343{
344 PlanState **mergeplans;
345 int nplans;
346 int i;
347
348 /*
349 * get information from the node
350 */
351 mergeplans = node->mergeplans;
352 nplans = node->ms_nplans;
353
354 /*
355 * shut down each of the subscans
356 */
357 for (i = 0; i < nplans; i++)
358 ExecEndNode(mergeplans[i]);
359}
360
361void
362ExecReScanMergeAppend(MergeAppendState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 1

ExecEndNodeFunction · 0.85

Tested by

no test coverage detected