---------------------------------------------------------------- * ExecAppendInitializeWorker * * Copy relevant information from TOC into planstate, and initialize * whatever is required to choose and execute the optimal subplan. * ---------------------------------------------------------------- */
| 556 | * ---------------------------------------------------------------- |
| 557 | */ |
| 558 | void |
| 559 | ExecAppendInitializeWorker(AppendState *node, ParallelWorkerContext *pwcxt) |
| 560 | { |
| 561 | node->as_pstate = shm_toc_lookup(pwcxt->toc, node->ps.plan->plan_node_id, false); |
| 562 | node->choose_next_subplan = choose_next_subplan_for_worker; |
| 563 | } |
| 564 | |
| 565 | /* ---------------------------------------------------------------- |
| 566 | * choose_next_subplan_locally |
no test coverage detected