PostgreSQL Source Code git master
|
#include <tableam.h>
Definition at line 578 of file tableam.h.
Referenced by table_finish_bulk_insert().
double(* TableAmRoutine::index_build_range_scan) (Relation table_rel, Relation index_rel, struct IndexInfo *index_info, bool allow_sync, bool anyvisible, bool progress, BlockNumber start_blockno, BlockNumber numblocks, IndexBuildCallback callback, void *callback_state, TableScanDesc scan) |
Definition at line 693 of file tableam.h.
Referenced by GetTableAmRoutine(), table_index_build_range_scan(), and table_index_build_scan().
TransactionId(* TableAmRoutine::index_delete_tuples) (Relation rel, TM_IndexDeleteOp *delstate) |
Definition at line 501 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_delete_tuples().
struct IndexFetchTableData *(* TableAmRoutine::index_fetch_begin) (Relation rel) |
Definition at line 407 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_fetch_begin().
void(* TableAmRoutine::index_fetch_end) (struct IndexFetchTableData *data) |
Definition at line 435 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_fetch_end().
void(* TableAmRoutine::index_fetch_reset) (struct IndexFetchTableData *data) |
Definition at line 430 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_fetch_reset().
bool(* TableAmRoutine::index_fetch_tuple) (struct IndexFetchTableData *scan, ItemPointer tid, Snapshot snapshot, TupleTableSlot *slot, bool *call_again, bool *all_dead) |
Definition at line 457 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_fetch_tuple().
void(* TableAmRoutine::index_validate_scan) (Relation table_rel, Relation index_rel, struct IndexInfo *index_info, Snapshot snapshot, struct ValidateIndexState *state) |
Definition at line 706 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_index_validate_scan().
void(* TableAmRoutine::multi_insert) (Relation rel, TupleTableSlot **slots, int nslots, CommandId cid, int options, struct BulkInsertStateData *bistate) |
Definition at line 530 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_multi_insert().
Definition at line 393 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_parallelscan_estimate().
Size(* TableAmRoutine::parallelscan_initialize) (Relation rel, ParallelTableScanDesc pscan) |
Definition at line 400 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_parallelscan_initialize().
void(* TableAmRoutine::parallelscan_reinitialize) (Relation rel, ParallelTableScanDesc pscan) |
Definition at line 407 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_parallelscan_reinitialize().
void(* TableAmRoutine::relation_copy_data) (Relation rel, const RelFileLocator *newrlocator) |
Definition at line 624 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_copy_data().
void(* TableAmRoutine::relation_copy_for_cluster) (Relation OldTable, Relation NewTable, Relation OldIndex, bool use_sort, TransactionId OldestXmin, TransactionId *xid_cutoff, MultiXactId *multi_cutoff, double *num_tuples, double *tups_vacuumed, double *tups_recently_dead) |
Definition at line 628 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_copy_for_cluster().
void(* TableAmRoutine::relation_estimate_size) (Relation rel, int32 *attr_widths, BlockNumber *pages, double *tuples, double *allvisfrac) |
Definition at line 772 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_estimate_size().
void(* TableAmRoutine::relation_fetch_toast_slice) (Relation toastrel, Oid valueid, int32 attrsize, int32 sliceoffset, int32 slicelength, struct varlena *result) |
Definition at line 750 of file tableam.h.
Referenced by table_relation_fetch_toast_slice().
bool(* TableAmRoutine::relation_needs_toast_table) (Relation rel) |
Definition at line 736 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_needs_toast_table().
void(* TableAmRoutine::relation_nontransactional_truncate) (Relation rel) |
Definition at line 616 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_nontransactional_truncate().
void(* TableAmRoutine::relation_set_new_filelocator) (Relation rel, const RelFileLocator *newrlocator, char persistence, TransactionId *freezeXid, MultiXactId *minmulti) |
Definition at line 602 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_set_new_filelocator().
uint64(* TableAmRoutine::relation_size) (Relation rel, ForkNumber forkNumber) |
Definition at line 726 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_size().
Definition at line 743 of file tableam.h.
Referenced by table_relation_toast_am().
void(* TableAmRoutine::relation_vacuum) (Relation rel, struct VacuumParams *params, BufferAccessStrategy bstrategy) |
Definition at line 654 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_relation_vacuum().
bool(* TableAmRoutine::scan_analyze_next_block) (TableScanDesc scan, ReadStream *stream) |
Definition at line 675 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_analyze_next_block().
bool(* TableAmRoutine::scan_analyze_next_tuple) (TableScanDesc scan, TransactionId OldestXmin, double *liverows, double *deadrows, TupleTableSlot *slot) |
Definition at line 686 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_analyze_next_tuple().
TableScanDesc(* TableAmRoutine::scan_begin) (Relation rel, Snapshot snapshot, int nkeys, struct ScanKeyData *key, ParallelTableScanDesc pscan, uint32 flags) |
Definition at line 328 of file tableam.h.
Referenced by GetTableAmRoutine(), table_beginscan(), table_beginscan_analyze(), table_beginscan_bm(), table_beginscan_catalog(), table_beginscan_parallel(), table_beginscan_sampling(), table_beginscan_strat(), table_beginscan_tid(), and table_beginscan_tidrange().
bool(* TableAmRoutine::scan_bitmap_next_block) (TableScanDesc scan, BlockNumber *blockno, bool *recheck, uint64 *lossy_pages, uint64 *exact_pages) |
Definition at line 820 of file tableam.h.
Referenced by get_relation_info(), GetTableAmRoutine(), and table_scan_bitmap_next_block().
bool(* TableAmRoutine::scan_bitmap_next_tuple) (TableScanDesc scan, TupleTableSlot *slot) |
Definition at line 833 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_bitmap_next_tuple().
void(* TableAmRoutine::scan_end) (TableScanDesc scan) |
Definition at line 338 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_endscan().
bool(* TableAmRoutine::scan_getnextslot) (TableScanDesc scan, ScanDirection direction, TupleTableSlot *slot) |
Definition at line 351 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_getnextslot().
bool(* TableAmRoutine::scan_getnextslot_tidrange) (TableScanDesc scan, ScanDirection direction, TupleTableSlot *slot) |
Definition at line 380 of file tableam.h.
Referenced by get_relation_info(), and table_scan_getnextslot_tidrange().
void(* TableAmRoutine::scan_rescan) (TableScanDesc scan, struct ScanKeyData *key, bool set_params, bool allow_strat, bool allow_sync, bool allow_pagemode) |
Definition at line 344 of file tableam.h.
Referenced by GetTableAmRoutine(), table_rescan(), table_rescan_set_params(), and table_rescan_tidrange().
bool(* TableAmRoutine::scan_sample_next_block) (TableScanDesc scan, struct SampleScanState *scanstate) |
Definition at line 861 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_sample_next_block().
bool(* TableAmRoutine::scan_sample_next_tuple) (TableScanDesc scan, struct SampleScanState *scanstate, TupleTableSlot *slot) |
Definition at line 877 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_scan_sample_next_tuple().
void(* TableAmRoutine::scan_set_tidrange) (TableScanDesc scan, ItemPointer mintid, ItemPointer maxtid) |
Definition at line 372 of file tableam.h.
Referenced by get_relation_info(), table_beginscan_tidrange(), and table_rescan_tidrange().
const TupleTableSlotOps *(* TableAmRoutine::slot_callbacks) (Relation rel) |
Definition at line 304 of file tableam.h.
Referenced by table_slot_callbacks().
void(* TableAmRoutine::tuple_complete_speculative) (Relation rel, TupleTableSlot *slot, uint32 specToken, bool succeeded) |
Definition at line 524 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_complete_speculative().
TM_Result(* TableAmRoutine::tuple_delete) (Relation rel, ItemPointer tid, CommandId cid, Snapshot snapshot, Snapshot crosscheck, bool wait, TM_FailureData *tmfd, bool changingPart) |
Definition at line 534 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_delete().
bool(* TableAmRoutine::tuple_fetch_row_version) (Relation rel, ItemPointer tid, Snapshot snapshot, TupleTableSlot *slot) |
Definition at line 474 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_fetch_row_version().
void(* TableAmRoutine::tuple_get_latest_tid) (TableScanDesc scan, ItemPointer tid) |
Definition at line 489 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_get_latest_tid().
void(* TableAmRoutine::tuple_insert) (Relation rel, TupleTableSlot *slot, CommandId cid, int options, struct BulkInsertStateData *bistate) |
Definition at line 511 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_insert().
void(* TableAmRoutine::tuple_insert_speculative) (Relation rel, TupleTableSlot *slot, CommandId cid, int options, struct BulkInsertStateData *bistate, uint32 specToken) |
Definition at line 516 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_insert_speculative().
TM_Result(* TableAmRoutine::tuple_lock) (Relation rel, ItemPointer tid, Snapshot snapshot, TupleTableSlot *slot, CommandId cid, LockTupleMode mode, LockWaitPolicy wait_policy, uint8 flags, TM_FailureData *tmfd) |
Definition at line 556 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_lock().
bool(* TableAmRoutine::tuple_satisfies_snapshot) (Relation rel, TupleTableSlot *slot, Snapshot snapshot) |
Definition at line 496 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_satisfies_snapshot().
bool(* TableAmRoutine::tuple_tid_valid) (TableScanDesc scan, ItemPointer tid) |
Definition at line 482 of file tableam.h.
Referenced by GetTableAmRoutine(), table_tuple_get_latest_tid(), and table_tuple_tid_valid().
TM_Result(* TableAmRoutine::tuple_update) (Relation rel, ItemPointer otid, TupleTableSlot *slot, CommandId cid, Snapshot snapshot, Snapshot crosscheck, bool wait, TM_FailureData *tmfd, LockTupleMode *lockmode, TU_UpdateIndexes *update_indexes) |
Definition at line 544 of file tableam.h.
Referenced by GetTableAmRoutine(), and table_tuple_update().