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

Function ExecSortInitializeWorker

src/backend/executor/nodeSort.c:554–560  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecSortInitializeWorker * * Attach worker to DSM space for sort statistics. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

552 * ----------------------------------------------------------------
553 */
554void
555ExecSortInitializeWorker(SortState *node, ParallelWorkerContext *pwcxt)
556{
557 node->shared_info =
558 shm_toc_lookup(pwcxt->toc, node->ss.ps.plan->plan_node_id, true);
559 node->am_worker = true;
560}
561
562/* ----------------------------------------------------------------
563 * ExecSortRetrieveInstrumentation

Callers 1

Calls 1

shm_toc_lookupFunction · 0.85

Tested by

no test coverage detected