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

Function ExecEndAppend

src/backend/executor/nodeAppend.c:398–419  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndAppend * * Shuts down the subscans of the append node. * * Returns nothing of interest. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

396 * ----------------------------------------------------------------
397 */
398void
399ExecEndAppend(AppendState *node)
400{
401 PlanState **appendplans;
402 int nplans;
403 int i;
404
405 /*
406 * get information from the node
407 */
408 appendplans = node->appendplans;
409 nplans = node->as_nplans;
410
411 /*
412 * shut down each of the subscans
413 */
414 for (i = nplans-1; i >= 0; --i)
415 {
416 if (appendplans[i])
417 ExecEndNode(appendplans[i]);
418 }
419}
420
421void
422ExecReScanAppend(AppendState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 1

ExecEndNodeFunction · 0.85

Tested by

no test coverage detected