PostgreSQL Source Code
git master
|
#include "nodes/execnodes.h"
Go to the source code of this file.
Functions | |
CteScanState * | ExecInitCteScan (CteScan *node, EState *estate, int eflags) |
void | ExecEndCteScan (CteScanState *node) |
void | ExecReScanCteScan (CteScanState *node) |
void ExecEndCteScan | ( | CteScanState * | node | ) |
Definition at line 288 of file nodeCtescan.c.
References CteScanState::cte_table, CteScanState::leader, and tuplestore_end().
Referenced by ExecEndNode().
CteScanState* ExecInitCteScan | ( | CteScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 175 of file nodeCtescan.c.
References Assert, castNode, CteScanState::cte_table, CteScan::cteParam, CteScan::ctePlanId, CteScanState::cteplanstate, DatumGetPointer(), CteScanState::eflags, CteScanState::eof_cte, EState::es_param_exec_vals, EState::es_subplanstates, EXEC_FLAG_MARK, EXEC_FLAG_REWIND, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecCteScan(), ExecGetResultType(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), ParamExecData::execPlan, PlanState::ExecProcNode, innerPlan, ParamExecData::isnull, CteScanState::leader, list_nth(), makeNode, outerPlan, PlanState::plan, PointerGetDatum(), ScanState::ps, PlanState::qual, CteScanState::readptr, CteScan::scan, CteScanState::ss, PlanState::state, TTSOpsMinimalTuple, tuplestore_alloc_read_pointer(), tuplestore_begin_heap(), tuplestore_rescan(), tuplestore_select_read_pointer(), tuplestore_set_eflags(), ParamExecData::value, and work_mem.
Referenced by ExecInitNode().
void ExecReScanCteScan | ( | CteScanState * | node | ) |
Definition at line 307 of file nodeCtescan.c.
References PlanState::chgParam, CteScanState::cte_table, CteScanState::cteplanstate, CteScanState::eof_cte, ExecClearTuple(), ExecScanReScan(), CteScanState::leader, ScanState::ps, PlanState::ps_ResultTupleSlot, CteScanState::readptr, CteScanState::ss, tuplestore_clear(), tuplestore_rescan(), and tuplestore_select_read_pointer().
Referenced by ExecReScan().