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

Function ExecAggInitializeWorker

src/backend/executor/nodeAgg.c:5112–5117  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecAggInitializeWorker * * Attach worker to DSM space for aggregate statistics. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

5110 * ----------------------------------------------------------------
5111 */
5112void
5113ExecAggInitializeWorker(AggState *node, ParallelWorkerContext *pwcxt)
5114{
5115 node->shared_info =
5116 shm_toc_lookup(pwcxt->toc, node->ss.ps.plan->plan_node_id, true);
5117}
5118
5119/* ----------------------------------------------------------------
5120 * ExecAggRetrieveInstrumentation

Callers 1

Calls 1

shm_toc_lookupFunction · 0.85

Tested by

no test coverage detected