PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "executor/executor.h"
#include "executor/nodeMaterial.h"
#include "miscadmin.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ExecMaterial (PlanState *pstate) |
MaterialState * | ExecInitMaterial (Material *node, EState *estate, int eflags) |
void | ExecEndMaterial (MaterialState *node) |
void | ExecMaterialMarkPos (MaterialState *node) |
void | ExecMaterialRestrPos (MaterialState *node) |
void | ExecReScanMaterial (MaterialState *node) |
void ExecEndMaterial | ( | MaterialState * | node | ) |
Definition at line 240 of file nodeMaterial.c.
References ExecEndNode(), outerPlanState, tuplestore_end(), and MaterialState::tuplestorestate.
Referenced by ExecEndNode().
MaterialState* ExecInitMaterial | ( | Material * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 164 of file nodeMaterial.c.
References MaterialState::eflags, MaterialState::eof_underlying, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, EXEC_FLAG_REWIND, ExecCreateScanSlotFromOuterPlan(), ExecInitNode(), ExecInitResultTupleSlotTL(), ExecMaterial(), PlanState::ExecProcNode, makeNode, outerPlan, outerPlanState, PlanState::plan, ScanState::ps, PlanState::ps_ProjInfo, MaterialState::ss, PlanState::state, TTSOpsMinimalTuple, and MaterialState::tuplestorestate.
Referenced by ExecInitNode().
|
static |
Definition at line 39 of file nodeMaterial.c.
References Assert, castNode, CHECK_FOR_INTERRUPTS, MaterialState::eflags, MaterialState::eof_underlying, EState::es_direction, EXEC_FLAG_MARK, ExecClearTuple(), ExecCopySlot(), ExecProcNode(), outerPlanState, PG_USED_FOR_ASSERTS_ONLY, ScanState::ps, PlanState::ps_ResultTupleSlot, ScanDirectionIsForward, MaterialState::ss, PlanState::state, TupIsNull, tuplestore_advance(), tuplestore_alloc_read_pointer(), tuplestore_ateof(), tuplestore_begin_heap(), tuplestore_gettupleslot(), tuplestore_puttupleslot(), tuplestore_set_eflags(), MaterialState::tuplestorestate, and work_mem.
Referenced by ExecInitMaterial().
void ExecMaterialMarkPos | ( | MaterialState * | node | ) |
Definition at line 262 of file nodeMaterial.c.
References Assert, MaterialState::eflags, EXEC_FLAG_MARK, tuplestore_copy_read_pointer(), tuplestore_trim(), and MaterialState::tuplestorestate.
Referenced by ExecMarkPos().
void ExecMaterialRestrPos | ( | MaterialState * | node | ) |
Definition at line 290 of file nodeMaterial.c.
References Assert, MaterialState::eflags, EXEC_FLAG_MARK, tuplestore_copy_read_pointer(), and MaterialState::tuplestorestate.
Referenced by ExecRestrPos().
void ExecReScanMaterial | ( | MaterialState * | node | ) |
Definition at line 313 of file nodeMaterial.c.
References MaterialState::eflags, MaterialState::eof_underlying, EXEC_FLAG_REWIND, ExecClearTuple(), ExecReScan(), outerPlan, outerPlanState, ScanState::ps, PlanState::ps_ResultTupleSlot, MaterialState::ss, tuplestore_end(), tuplestore_rescan(), and MaterialState::tuplestorestate.
Referenced by ExecReScan().