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

Function ExecCustomScanReInitializeDSM

src/backend/executor/nodeCustom.c:190–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void
191ExecCustomScanReInitializeDSM(CustomScanState *node, ParallelContext *pcxt)
192{
193 const CustomExecMethods *methods = node->methods;
194
195 if (methods->ReInitializeDSMCustomScan)
196 {
197 int plan_node_id = node->ss.ps.plan->plan_node_id;
198 void *coordinate;
199
200 coordinate = shm_toc_lookup(pcxt->toc, plan_node_id, false);
201 methods->ReInitializeDSMCustomScan(node, pcxt, coordinate);
202 }
203}
204
205void
206ExecCustomScanInitializeWorker(CustomScanState *node,

Callers 1

Calls 1

shm_toc_lookupFunction · 0.85

Tested by

no test coverage detected