PostgreSQL Source Code: src/backend/access/tablesample/tablesample.c File Reference (original) (raw)

Go to the source code of this file.

GetTsmRoutine()

Definition at line 27 of file tablesample.c.

28{

31

34

36 elog(ERROR, "tablesample handler function %u did not return a TsmRoutine struct",

37 tsmhandler);

38

39 return routine;

40}

#define OidFunctionCall1(functionId, arg1)

#define IsA(nodeptr, _type_)

static Datum PointerGetDatum(const void *X)

static Pointer DatumGetPointer(Datum X)

References DatumGetPointer(), elog, ERROR, IsA, OidFunctionCall1, and PointerGetDatum().

Referenced by cost_samplescan(), ExecInitSampleScan(), set_tablesample_rel_pathlist(), set_tablesample_rel_size(), and transformRangeTableSample().