PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | TsmRoutine |
Typedefs | |
typedef void(* | SampleScanGetSampleSize_function) (PlannerInfo *root, RelOptInfo *baserel, List *paramexprs, BlockNumber *pages, double *tuples) |
typedef void(* | InitSampleScan_function) (SampleScanState *node, int eflags) |
typedef void(* | BeginSampleScan_function) (SampleScanState *node, Datum *params, int nparams, uint32 seed) |
typedef BlockNumber(* | NextSampleBlock_function) (SampleScanState *node, BlockNumber nblocks) |
typedef OffsetNumber(* | NextSampleTuple_function) (SampleScanState *node, BlockNumber blockno, OffsetNumber maxoffset) |
typedef void(* | EndSampleScan_function) (SampleScanState *node) |
typedef struct TsmRoutine | TsmRoutine |
Functions | |
TsmRoutine * | GetTsmRoutine (Oid tsmhandler) |
typedef void(* BeginSampleScan_function) (SampleScanState *node, Datum *params, int nparams, uint32 seed) |
typedef void(* EndSampleScan_function) (SampleScanState *node) |
typedef void(* InitSampleScan_function) (SampleScanState *node, int eflags) |
typedef BlockNumber(* NextSampleBlock_function) (SampleScanState *node, BlockNumber nblocks) |
typedef OffsetNumber(* NextSampleTuple_function) (SampleScanState *node, BlockNumber blockno, OffsetNumber maxoffset) |
typedef void(* SampleScanGetSampleSize_function) (PlannerInfo *root, RelOptInfo *baserel, List *paramexprs, BlockNumber *pages, double *tuples) |
typedef struct TsmRoutine TsmRoutine |
TsmRoutine* GetTsmRoutine | ( | Oid | tsmhandler | ) |
Definition at line 27 of file tablesample.c.
References DatumGetPointer(), elog, ERROR, IsA, OidFunctionCall1, and PointerGetDatum().
Referenced by cost_samplescan(), ExecInitSampleScan(), set_tablesample_rel_pathlist(), set_tablesample_rel_size(), and transformRangeTableSample().