PostgreSQL Source Code  git master
HeapCheckContext Struct Reference

Data Fields

FullTransactionId next_fxid
 
TransactionId next_xid
 
TransactionId oldest_xid
 
FullTransactionId oldest_fxid
 
TransactionId safe_xmin
 
MultiXactId next_mxact
 
MultiXactId oldest_mxact
 
TransactionId cached_xid
 
XidCommitStatus cached_status
 
Relation rel
 
TransactionId relfrozenxid
 
FullTransactionId relfrozenfxid
 
TransactionId relminmxid
 
Relation toast_rel
 
Relationtoast_indexes
 
Relation valid_toast_index
 
int num_toast_indexes
 
BlockNumber blkno
 
BufferAccessStrategy bstrategy
 
Buffer buffer
 
Page page
 
OffsetNumber offnum
 
ItemId itemid
 
uint16 lp_len
 
uint16 lp_off
 
HeapTupleHeader tuphdr
 
int natts
 
uint32 offset
 
AttrNumber attnum
 
bool tuple_could_be_pruned
 
Listtoasted_attributes
 
bool is_corrupt
 
TupleDesc tupdesc
 
Tuplestorestatetupstore
 

Detailed Description

Definition at line 78 of file verify_heapam.c.

Field Documentation

◆ attnum

AttrNumber HeapCheckContext::attnum

Definition at line 130 of file verify_heapam.c.

Referenced by check_tuple(), check_tuple_attribute(), and report_corruption().

◆ blkno

BlockNumber HeapCheckContext::blkno

Definition at line 115 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and report_corruption().

◆ bstrategy

BufferAccessStrategy HeapCheckContext::bstrategy

Definition at line 116 of file verify_heapam.c.

◆ buffer

Buffer HeapCheckContext::buffer

Definition at line 117 of file verify_heapam.c.

◆ cached_status

XidCommitStatus HeapCheckContext::cached_status

Definition at line 102 of file verify_heapam.c.

Referenced by get_xid_status().

◆ cached_xid

TransactionId HeapCheckContext::cached_xid

Definition at line 101 of file verify_heapam.c.

Referenced by get_xid_status().

◆ is_corrupt

bool HeapCheckContext::is_corrupt

Definition at line 142 of file verify_heapam.c.

Referenced by report_corruption(), and report_toast_corruption().

◆ itemid

ItemId HeapCheckContext::itemid

Definition at line 122 of file verify_heapam.c.

◆ lp_len

uint16 HeapCheckContext::lp_len

Definition at line 123 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and check_tuple_header().

◆ lp_off

uint16 HeapCheckContext::lp_off

Definition at line 124 of file verify_heapam.c.

◆ natts

int HeapCheckContext::natts

Definition at line 126 of file verify_heapam.c.

Referenced by check_tuple(), and check_tuple_header().

◆ next_fxid

◆ next_mxact

MultiXactId HeapCheckContext::next_mxact

◆ next_xid

TransactionId HeapCheckContext::next_xid

Definition at line 85 of file verify_heapam.c.

Referenced by FullTransactionIdFromXidAndCtx(), and update_cached_xid_range().

◆ num_toast_indexes

int HeapCheckContext::num_toast_indexes

Definition at line 112 of file verify_heapam.c.

◆ offnum

OffsetNumber HeapCheckContext::offnum

Definition at line 121 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and report_corruption().

◆ offset

uint32 HeapCheckContext::offset

Definition at line 129 of file verify_heapam.c.

Referenced by check_tuple(), and check_tuple_attribute().

◆ oldest_fxid

FullTransactionId HeapCheckContext::oldest_fxid

◆ oldest_mxact

MultiXactId HeapCheckContext::oldest_mxact

◆ oldest_xid

TransactionId HeapCheckContext::oldest_xid

Definition at line 86 of file verify_heapam.c.

Referenced by update_cached_xid_range().

◆ page

Page HeapCheckContext::page

Definition at line 118 of file verify_heapam.c.

◆ rel

Relation HeapCheckContext::rel

Definition at line 105 of file verify_heapam.c.

Referenced by check_tuple(), and check_tuple_attribute().

◆ relfrozenfxid

FullTransactionId HeapCheckContext::relfrozenfxid

Definition at line 107 of file verify_heapam.c.

Referenced by check_tuple_visibility(), and get_xid_status().

◆ relfrozenxid

TransactionId HeapCheckContext::relfrozenxid

Definition at line 106 of file verify_heapam.c.

◆ relminmxid

TransactionId HeapCheckContext::relminmxid

Definition at line 108 of file verify_heapam.c.

Referenced by check_mxid_in_range(), and check_tuple_visibility().

◆ safe_xmin

TransactionId HeapCheckContext::safe_xmin

Definition at line 89 of file verify_heapam.c.

Referenced by check_tuple_visibility().

◆ toast_indexes

Relation* HeapCheckContext::toast_indexes

Definition at line 110 of file verify_heapam.c.

◆ toast_rel

Relation HeapCheckContext::toast_rel

◆ toasted_attributes

List* HeapCheckContext::toasted_attributes

Definition at line 139 of file verify_heapam.c.

Referenced by check_tuple_attribute().

◆ tupdesc

TupleDesc HeapCheckContext::tupdesc

Definition at line 145 of file verify_heapam.c.

Referenced by report_corruption(), and report_toast_corruption().

◆ tuphdr

HeapTupleHeader HeapCheckContext::tuphdr

◆ tuple_could_be_pruned

bool HeapCheckContext::tuple_could_be_pruned

Definition at line 133 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and check_tuple_visibility().

◆ tupstore

Tuplestorestate* HeapCheckContext::tupstore

Definition at line 146 of file verify_heapam.c.

Referenced by report_corruption(), and report_toast_corruption().

◆ valid_toast_index

Relation HeapCheckContext::valid_toast_index

Definition at line 111 of file verify_heapam.c.

Referenced by check_toasted_attribute().


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