PostgreSQL Source Code
git master
|
#include "nodes/execnodes.h"
Go to the source code of this file.
Functions | |
RecursiveUnionState * | ExecInitRecursiveUnion (RecursiveUnion *node, EState *estate, int eflags) |
void | ExecEndRecursiveUnion (RecursiveUnionState *node) |
void | ExecReScanRecursiveUnion (RecursiveUnionState *node) |
void ExecEndRecursiveUnion | ( | RecursiveUnionState * | node | ) |
Definition at line 279 of file nodeRecursiveunion.c.
References ExecEndNode(), innerPlanState, RecursiveUnionState::intermediate_table, MemoryContextDelete(), outerPlanState, RecursiveUnionState::tableContext, RecursiveUnionState::tempContext, tuplestore_end(), and RecursiveUnionState::working_table.
Referenced by ExecEndNode().
RecursiveUnionState* ExecInitRecursiveUnion | ( | RecursiveUnion * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 174 of file nodeRecursiveunion.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, build_hash_table(), CurrentMemoryContext, RecursiveUnionState::eqfuncoids, EState::es_param_exec_vals, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecInitNode(), ExecInitResultTypeTL(), ParamExecData::execPlan, PlanState::ExecProcNode, ExecRecursiveUnion(), execTuplesHashPrepare(), RecursiveUnionState::hashfunctions, RecursiveUnionState::hashtable, innerPlan, innerPlanState, RecursiveUnionState::intermediate_empty, RecursiveUnionState::intermediate_table, ParamExecData::isnull, makeNode, NIL, RecursiveUnion::numCols, outerPlan, outerPlanState, PlanState::plan, RecursiveUnion::plan, PointerGetDatum(), RecursiveUnionState::ps, PlanState::ps_ProjInfo, Plan::qual, RecursiveUnionState::recursing, PlanState::state, RecursiveUnionState::tableContext, RecursiveUnionState::tempContext, tuplestore_begin_heap(), ParamExecData::value, work_mem, RecursiveUnionState::working_table, and RecursiveUnion::wtParam.
Referenced by ExecInitNode().
void ExecReScanRecursiveUnion | ( | RecursiveUnionState * | node | ) |
Definition at line 305 of file nodeRecursiveunion.c.
References bms_add_member(), ExecReScan(), RecursiveUnionState::hashtable, innerPlan, innerPlanState, RecursiveUnionState::intermediate_empty, RecursiveUnionState::intermediate_table, MemoryContextReset(), outerPlan, outerPlanState, PlanState::plan, plan, RecursiveUnionState::ps, RecursiveUnionState::recursing, ResetTupleHashTable(), RecursiveUnionState::tableContext, tuplestore_clear(), and RecursiveUnionState::working_table.
Referenced by ExecReScan().