PostgreSQL Source Code
git master
|
#include "nodes/execnodes.h"
Go to the source code of this file.
Functions | |
GatherMergeState * | ExecInitGatherMerge (GatherMerge *node, EState *estate, int eflags) |
void | ExecEndGatherMerge (GatherMergeState *node) |
void | ExecReScanGatherMerge (GatherMergeState *node) |
void | ExecShutdownGatherMerge (GatherMergeState *node) |
void ExecEndGatherMerge | ( | GatherMergeState * | node | ) |
Definition at line 291 of file nodeGatherMerge.c.
References ExecEndNode(), ExecShutdownGatherMerge(), and outerPlanState.
Referenced by ExecEndNode().
GatherMergeState* ExecInitGatherMerge | ( | GatherMerge * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 67 of file nodeGatherMerge.c.
References SortSupportData::abbreviate, Assert, CurrentMemoryContext, ExecAssignExprContext(), ExecConditionalAssignProjectionInfo(), ExecGatherMerge(), ExecGetResultType(), ExecInitNode(), ExecInitResultTypeTL(), PlanState::ExecProcNode, gather_merge_setup(), GatherMergeState::gm_initialized, GatherMergeState::gm_nkeys, GatherMergeState::gm_sortkeys, i, GatherMergeState::initialized, innerPlan, makeNode, GatherMerge::numCols, OUTER_VAR, PlanState::outeropsfixed, PlanState::outeropsset, outerPlan, outerPlanState, palloc0(), PlanState::plan, GatherMerge::plan, PrepareSortSupportFromOrderingOp(), GatherMergeState::ps, PlanState::ps_ProjInfo, Plan::qual, PlanState::resultopsfixed, PlanState::resultopsset, SortSupportData::ssup_attno, SortSupportData::ssup_collation, SortSupportData::ssup_cxt, SortSupportData::ssup_nulls_first, PlanState::state, GatherMergeState::tupDesc, and GatherMergeState::tuples_needed.
Referenced by ExecInitNode().
void ExecReScanGatherMerge | ( | GatherMergeState * | node | ) |
Definition at line 341 of file nodeGatherMerge.c.
References bms_add_member(), ExecReScan(), ExecShutdownGatherMergeWorkers(), gather_merge_clear_tuples(), GatherMergeState::gm_initialized, GatherMergeState::initialized, outerPlan, outerPlanState, PlanState::plan, GatherMergeState::ps, and GatherMerge::rescan_param.
Referenced by ExecReScan().
void ExecShutdownGatherMerge | ( | GatherMergeState * | node | ) |
Definition at line 304 of file nodeGatherMerge.c.
References ExecParallelCleanup(), ExecShutdownGatherMergeWorkers(), and GatherMergeState::pei.
Referenced by ExecEndGatherMerge(), and ExecShutdownNode_walker().