PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
AppendState * | ExecInitAppend (Append *node, EState *estate, int eflags) |
void | ExecEndAppend (AppendState *node) |
void | ExecReScanAppend (AppendState *node) |
void | ExecAppendEstimate (AppendState *node, ParallelContext *pcxt) |
void | ExecAppendInitializeDSM (AppendState *node, ParallelContext *pcxt) |
void | ExecAppendReInitializeDSM (AppendState *node, ParallelContext *pcxt) |
void | ExecAppendInitializeWorker (AppendState *node, ParallelWorkerContext *pwcxt) |
void | ExecAsyncAppendResponse (AsyncRequest *areq) |
void ExecAppendEstimate | ( | AppendState * | node, |
ParallelContext * | pcxt | ||
) |
Definition at line 484 of file nodeAppend.c.
References add_size(), AppendState::as_nplans, ParallelContext::estimator, AppendState::pstate_len, shm_toc_estimate_chunk, and shm_toc_estimate_keys.
Referenced by ExecParallelEstimate().
void ExecAppendInitializeDSM | ( | AppendState * | node, |
ParallelContext * | pcxt | ||
) |
Definition at line 503 of file nodeAppend.c.
References AppendState::as_pstate, AppendState::choose_next_subplan, choose_next_subplan_for_leader(), LWLockInitialize(), LWTRANCHE_PARALLEL_APPEND, ParallelAppendState::pa_lock, PlanState::plan, Plan::plan_node_id, AppendState::ps, AppendState::pstate_len, shm_toc_allocate(), shm_toc_insert(), and ParallelContext::toc.
Referenced by ExecParallelInitializeDSM().
void ExecAppendInitializeWorker | ( | AppendState * | node, |
ParallelWorkerContext * | pwcxt | ||
) |
Definition at line 540 of file nodeAppend.c.
References AppendState::as_pstate, AppendState::choose_next_subplan, choose_next_subplan_for_worker(), PlanState::plan, Plan::plan_node_id, AppendState::ps, shm_toc_lookup(), and ParallelWorkerContext::toc.
Referenced by ExecParallelInitializeWorker().
void ExecAppendReInitializeDSM | ( | AppendState * | node, |
ParallelContext * | pcxt | ||
) |
Definition at line 524 of file nodeAppend.c.
References AppendState::as_nplans, AppendState::as_pstate, ParallelAppendState::pa_finished, and ParallelAppendState::pa_next_plan.
Referenced by ExecParallelReInitializeDSM().
void ExecAsyncAppendResponse | ( | AsyncRequest * | areq | ) |
Definition at line 1105 of file nodeAppend.c.
References AppendState::as_asyncresults, AppendState::as_nasyncplans, AppendState::as_nasyncremain, AppendState::as_nasyncresults, AppendState::as_needrequest, Assert, bms_add_member(), AsyncRequest::callback_pending, IsA, AsyncRequest::request_complete, AsyncRequest::request_index, AsyncRequest::requestor, AsyncRequest::result, and TupIsNull.
Referenced by ExecAsyncResponse().
void ExecEndAppend | ( | AppendState * | node | ) |
Definition at line 386 of file nodeAppend.c.
References AppendState::appendplans, AppendState::as_nplans, ExecEndNode(), and i.
Referenced by ExecEndNode().
AppendState* ExecInitAppend | ( | Append * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 109 of file nodeAppend.c.
References AppendState::appendplans, Append::appendplans, AppendState::as_asyncplans, AppendState::as_asyncrequests, AppendState::as_asyncresults, AppendState::as_begun, AppendState::as_eventset, AppendState::as_first_partial_plan, AppendState::as_nasyncplans, AppendState::as_nasyncremain, AppendState::as_nasyncresults, AppendState::as_needrequest, AppendState::as_nplans, AppendState::as_prune_state, AppendState::as_syncdone, AppendState::as_valid_asyncplans, AppendState::as_valid_subplans, AppendState::as_valid_subplans_identified, AppendState::as_whichplan, Assert, Plan::async_capable, bms_add_member(), bms_add_range(), bms_next_member(), bms_num_members(), AsyncRequest::callback_pending, AppendState::choose_next_subplan, choose_next_subplan_locally(), classify_matching_subplans(), PartitionPruneState::do_exec_prune, EState::es_epq_active, EXEC_FLAG_MARK, ExecAppend(), ExecInitNode(), ExecInitPartitionPruning(), ExecInitResultTupleSlotTL(), PlanState::ExecProcNode, Append::first_partial_plan, i, INVALID_SUBPLAN_INDEX, j, list_length(), list_nth(), makeNode, palloc(), palloc0(), Append::part_prune_info, PlanState::plan, AppendState::ps, PlanState::ps_ProjInfo, AsyncRequest::request_complete, AsyncRequest::request_index, AsyncRequest::requestee, AsyncRequest::requestor, AsyncRequest::result, PlanState::resultopsfixed, PlanState::resultopsset, PlanState::state, and TTSOpsVirtual.
Referenced by ExecInitNode().
void ExecReScanAppend | ( | AppendState * | node | ) |
Definition at line 406 of file nodeAppend.c.
References AppendState::appendplans, AppendState::as_asyncplans, AppendState::as_asyncrequests, AppendState::as_begun, AppendState::as_nasyncplans, AppendState::as_nasyncremain, AppendState::as_nasyncresults, AppendState::as_needrequest, AppendState::as_nplans, AppendState::as_prune_state, AppendState::as_syncdone, AppendState::as_valid_asyncplans, AppendState::as_valid_subplans, AppendState::as_valid_subplans_identified, AppendState::as_whichplan, bms_free(), bms_next_member(), bms_overlap(), AsyncRequest::callback_pending, PlanState::chgParam, PartitionPruneState::execparamids, ExecReScan(), i, INVALID_SUBPLAN_INDEX, AppendState::ps, AsyncRequest::request_complete, AsyncRequest::result, and UpdateChangedParamSet().
Referenced by ExecReScan().