PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "executor/executor.h"
#include "executor/nodeNamedtuplestorescan.h"
#include "utils/queryenvironment.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | NamedTuplestoreScanNext (NamedTuplestoreScanState *node) |
static bool | NamedTuplestoreScanRecheck (NamedTuplestoreScanState *node, TupleTableSlot *slot) |
static TupleTableSlot * | ExecNamedTuplestoreScan (PlanState *pstate) |
NamedTuplestoreScanState * | ExecInitNamedTuplestoreScan (NamedTuplestoreScan *node, EState *estate, int eflags) |
void | ExecReScanNamedTuplestoreScan (NamedTuplestoreScanState *node) |
NamedTuplestoreScanState* ExecInitNamedTuplestoreScan | ( | NamedTuplestoreScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 82 of file nodeNamedtuplestorescan.c.
References Assert, elog, ENRMetadataGetTupDesc(), NamedTuplestoreScan::enrname, ERROR, EState::es_queryEnv, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, EXEC_FLAG_REWIND, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), ExecNamedTuplestoreScan(), PlanState::ExecProcNode, get_ENR(), innerPlan, makeNode, EphemeralNamedRelationData::md, outerPlan, PlanState::plan, ScanState::ps, PlanState::qual, NamedTuplestoreScanState::readptr, NamedTuplestoreScanState::relation, EphemeralNamedRelationData::reldata, NamedTuplestoreScan::scan, NamedTuplestoreScanState::ss, PlanState::state, TTSOpsMinimalTuple, NamedTuplestoreScanState::tupdesc, tuplestore_alloc_read_pointer(), tuplestore_rescan(), and tuplestore_select_read_pointer().
Referenced by ExecInitNode().
|
static |
Definition at line 67 of file nodeNamedtuplestorescan.c.
References castNode, ExecScan(), NamedTuplestoreScanNext(), NamedTuplestoreScanRecheck(), and NamedTuplestoreScanState::ss.
Referenced by ExecInitNamedTuplestoreScan().
void ExecReScanNamedTuplestoreScan | ( | NamedTuplestoreScanState * | node | ) |
Definition at line 164 of file nodeNamedtuplestorescan.c.
References ExecClearTuple(), ExecScanReScan(), ScanState::ps, PlanState::ps_ResultTupleSlot, NamedTuplestoreScanState::readptr, NamedTuplestoreScanState::relation, NamedTuplestoreScanState::ss, tuplestore_rescan(), and tuplestore_select_read_pointer().
Referenced by ExecReScan().
|
static |
Definition at line 31 of file nodeNamedtuplestorescan.c.
References Assert, EState::es_direction, ScanState::ps, NamedTuplestoreScanState::readptr, NamedTuplestoreScanState::relation, ScanDirectionIsForward, NamedTuplestoreScanState::ss, ScanState::ss_ScanTupleSlot, PlanState::state, tuplestore_gettupleslot(), and tuplestore_select_read_pointer().
Referenced by ExecNamedTuplestoreScan().
|
static |
Definition at line 52 of file nodeNamedtuplestorescan.c.
Referenced by ExecNamedTuplestoreScan().