PostgreSQL Source Code: SnapshotData Struct Reference (original) (raw)

#include <[snapshot.h](snapshot%5F8h%5Fsource.html)>

Data Fields
SnapshotType snapshot_type
TransactionId xmin
TransactionId xmax
TransactionId * xip
uint32 xcnt
TransactionId * subxip
int32 subxcnt
bool suboverflowed
bool takenDuringRecovery
bool copied
CommandId curcid
uint32 speculativeToken
struct GlobalVisState * vistest
uint32 active_count
uint32 regd_count
pairingheap_node ph_node
uint64 snapXactCompletionCount

Definition at line 138 of file snapshot.h.

active_count

uint32 SnapshotData::active_count

Definition at line 200 of file snapshot.h.

Referenced by AtSubAbort_Snapshot(), CopySnapshot(), FreeSnapshot(), GetSnapshotData(), GetSnapshotDataReuse(), HeapTupleSatisfiesMVCC(), PopActiveSnapshot(), PushActiveSnapshotWithLevel(), ReorderBufferCopySnap(), RestoreSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), SnapBuildSnapDecRefcount(), SnapBuildSnapIncRefcount(), UnregisterSnapshotNoOwner(), and UpdateActiveSnapshotCommandId().

copied

bool SnapshotData::copied

Definition at line 181 of file snapshot.h.

Referenced by CopySnapshot(), FreeSnapshot(), GetSnapshotData(), GetSnapshotDataReuse(), PushActiveSnapshotWithLevel(), RegisterSnapshotOnOwner(), ReorderBufferCopySnap(), ReorderBufferFreeSnap(), ReorderBufferProcessTXN(), ReorderBufferRestoreChange(), ReorderBufferSaveTXNSnapshot(), ReorderBufferStreamTXN(), RestoreSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), and SnapBuildSnapDecRefcount().

curcid

Definition at line 183 of file snapshot.h.

Referenced by GetSnapshotData(), GetSnapshotDataReuse(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesMVCC(), ReorderBufferCopySnap(), ReorderBufferProcessTXN(), RestoreSnapshot(), SerializeSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), SnapBuildSnapDecRefcount(), SnapshotSetCommandId(), and UpdateActiveSnapshotCommandId().

ph_node

regd_count

uint32 SnapshotData::regd_count

Definition at line 201 of file snapshot.h.

Referenced by AtEOXact_Snapshot(), AtSubAbort_Snapshot(), CopySnapshot(), ExportSnapshot(), FreeSnapshot(), GetSnapshotData(), GetSnapshotDataReuse(), GetTransactionSnapshot(), HeapTupleSatisfiesMVCC(), PopActiveSnapshot(), RegisterSnapshotOnOwner(), ReorderBufferCopySnap(), RestoreSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), SnapBuildSnapDecRefcount(), UnregisterSnapshotNoOwner(), and UpdateActiveSnapshotCommandId().

snapshot_type

snapXactCompletionCount

uint64 SnapshotData::snapXactCompletionCount

speculativeToken

uint32 SnapshotData::speculativeToken

suboverflowed

bool SnapshotData::suboverflowed

Definition at line 178 of file snapshot.h.

Referenced by CopySnapshot(), EstimateSnapshotSpace(), ExportSnapshot(), GetSnapshotData(), ImportSnapshot(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), SnapBuildSnapDecRefcount(), and XidInMVCCSnapshot().

subxcnt

int32 SnapshotData::subxcnt

Definition at line 177 of file snapshot.h.

Referenced by CopySnapshot(), EstimateSnapshotSpace(), ExportSnapshot(), GetSnapshotData(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), ReorderBufferChangeSize(), ReorderBufferCopySnap(), ReorderBufferRestoreChange(), ReorderBufferSerializeChange(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), UpdateLogicalMappings(), and XidInMVCCSnapshot().

subxip

Definition at line 176 of file snapshot.h.

Referenced by CopySnapshot(), ExportSnapshot(), GetSnapshotData(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), ReorderBufferCopySnap(), ReorderBufferRestoreChange(), ReorderBufferSerializeChange(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), UpdateLogicalMappings(), and XidInMVCCSnapshot().

takenDuringRecovery

bool SnapshotData::takenDuringRecovery

Definition at line 180 of file snapshot.h.

Referenced by CopySnapshot(), EstimateSnapshotSpace(), ExportSnapshot(), GetSnapshotData(), heap_prepare_pagescan(), heapam_scan_sample_next_tuple(), ImportSnapshot(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildFreeSnapshot(), SnapBuildSnapDecRefcount(), and XidInMVCCSnapshot().

vistest

xcnt

Definition at line 165 of file snapshot.h.

Referenced by CopySnapshot(), EstimateSnapshotSpace(), ExportSnapshot(), GetSnapshotData(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), ReorderBufferChangeSize(), ReorderBufferCopySnap(), ReorderBufferRestoreChange(), ReorderBufferSerializeChange(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildExportSnapshot(), SnapBuildInitialSnapshot(), XidInMVCCSnapshot(), and XidIsConcurrent().

xip

Definition at line 164 of file snapshot.h.

Referenced by CopySnapshot(), ExportSnapshot(), GetSnapshotData(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), ReorderBufferCopySnap(), ReorderBufferRestoreChange(), ReorderBufferSerializeChange(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildInitialSnapshot(), XidInMVCCSnapshot(), and XidIsConcurrent().

xmax

Definition at line 154 of file snapshot.h.

Referenced by _bt_check_unique(), check_exclusion_or_unique_constraint(), ExportSnapshot(), GetSnapshotData(), heapam_tuple_lock(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), RelationFindReplTupleByIndex(), RelationFindReplTupleSeq(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildInitialSnapshot(), XidInMVCCSnapshot(), and XidIsConcurrent().

xmin

Definition at line 153 of file snapshot.h.

Referenced by _bt_check_unique(), ATExecDetachPartitionFinalize(), bt_check_every_level(), check_exclusion_or_unique_constraint(), DefineIndex(), ExportSnapshot(), GetSerializableTransactionSnapshotInt(), GetSnapshotData(), GetSnapshotDataReuse(), heapam_tuple_lock(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), ImportSnapshot(), ReindexRelationConcurrently(), RelationFindReplTupleByIndex(), RelationFindReplTupleSeq(), ReorderBufferGetOldestXmin(), RestoreSnapshot(), SerializeSnapshot(), SetTransactionSnapshot(), SnapBuildBuildSnapshot(), SnapBuildInitialSnapshot(), SnapshotResetXmin(), spgvacuumscan(), verify_heapam(), XidInMVCCSnapshot(), XidIsConcurrent(), and xmin_cmp().


The documentation for this struct was generated from the following file: