PostgreSQL Source Code
git master
|
#include "nodes/execnodes.h"
Go to the source code of this file.
Functions | |
SampleScanState * | ExecInitSampleScan (SampleScan *node, EState *estate, int eflags) |
void | ExecEndSampleScan (SampleScanState *node) |
void | ExecReScanSampleScan (SampleScanState *node) |
void ExecEndSampleScan | ( | SampleScanState * | node | ) |
Definition at line 179 of file nodeSamplescan.c.
References TsmRoutine::EndSampleScan, SampleScanState::ss, ScanState::ss_currentScanDesc, table_endscan(), and SampleScanState::tsmroutine.
Referenced by ExecEndNode().
SampleScanState* ExecInitSampleScan | ( | SampleScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 93 of file nodeSamplescan.c.
References SampleScanState::args, TableSampleClause::args, Assert, SampleScanState::begun, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecInitExpr(), ExecInitExprList(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), ExecOpenScanRelation(), PlanState::ExecProcNode, ExecSampleScan(), GetTsmRoutine(), TsmRoutine::InitSampleScan, innerPlan, makeNode, outerPlan, pg_global_prng_state, pg_prng_uint32(), PlanState::plan, ScanState::ps, PlanState::qual, RelationGetDescr, SampleScanState::repeatable, TableSampleClause::repeatable, SampleScan::scan, Scan::scanrelid, SampleScanState::seed, SampleScanState::ss, ScanState::ss_currentRelation, ScanState::ss_currentScanDesc, PlanState::state, table_slot_callbacks(), SampleScan::tablesample, SampleScanState::tsm_state, TableSampleClause::tsmhandler, and SampleScanState::tsmroutine.
Referenced by ExecInitNode().
void ExecReScanSampleScan | ( | SampleScanState * | node | ) |
Definition at line 202 of file nodeSamplescan.c.
References SampleScanState::begun, SampleScanState::done, SampleScanState::donetuples, ExecScanReScan(), SampleScanState::haveblock, and SampleScanState::ss.
Referenced by ExecReScan().