|
PostgreSQL Source Code git master
|
#include "nodes/execnodes.h"

Go to the source code of this file.
Functions | |
| SetOpState * | ExecInitSetOp (SetOp *node, EState *estate, int eflags) |
| void | ExecEndSetOp (SetOpState *node) |
| void | ExecReScanSetOp (SetOpState *node) |
| Size | EstimateSetOpHashTableSpace (double nentries, Size tupleWidth) |
Definition at line 115 of file nodeSetOp.c.
References EstimateTupleHashTableSpace().
Referenced by create_setop_path().
| void ExecEndSetOp | ( | SetOpState * | node | ) |
Definition at line 691 of file nodeSetOp.c.
References ExecEndNode(), innerPlanState, MemoryContextDelete(), outerPlanState, and SetOpState::tuplesContext.
Referenced by ExecEndNode().
| SetOpState * ExecInitSetOp | ( | SetOp * | node, |
| EState * | estate, | ||
| int | eflags | ||
| ) |
Definition at line 572 of file nodeSetOp.c.
References SortSupportData::abbreviate, ALLOCSET_DEFAULT_SIZES, Assert(), build_hash_table(), BumpContextCreate(), CurrentMemoryContext, SetOpState::eqfuncoids, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecInitExtraTupleSlot(), ExecInitNode(), ExecInitResultTupleSlotTL(), PlanState::ExecProcNode, ExecSetOp(), execTuplesHashPrepare(), SetOpStatePerInput::firstTupleSlot, SetOpState::hashfunctions, i, innerPlan, innerPlanState, SetOpState::leftInput, makeNode, SetOpState::need_init, SetOpState::numCols, SetOp::numCols, SetOpState::numOutput, outerPlan, outerPlanState, palloc0(), PlanState::plan, PrepareSortSupportFromOrderingOp(), SetOpState::ps, PlanState::ps_ProjInfo, PlanState::ps_ResultTupleDesc, PlanState::ps_ResultTupleSlot, SetOpState::rightInput, SetOpState::setop_done, SETOP_HASHED, SetOpState::sortKeys, SortSupportData::ssup_attno, SortSupportData::ssup_collation, SortSupportData::ssup_cxt, SortSupportData::ssup_nulls_first, PlanState::state, SetOp::strategy, SetOpState::table_filled, TTSOpsMinimalTuple, and SetOpState::tuplesContext.
Referenced by ExecInitNode().
| void ExecReScanSetOp | ( | SetOpState * | node | ) |
Definition at line 703 of file nodeSetOp.c.
References ExecClearTuple(), ExecReScan(), SetOpState::hashiter, SetOpState::hashtable, innerPlan, innerPlanState, SetOpState::need_init, SetOpState::numOutput, outerPlan, outerPlanState, PlanState::plan, SetOpState::ps, PlanState::ps_ResultTupleSlot, ResetTupleHashIterator, ResetTupleHashTable(), SetOpState::setop_done, SETOP_HASHED, and SetOpState::table_filled.
Referenced by ExecReScan().