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 81 of file verify_heapam.c.

Field Documentation

◆ attnum

AttrNumber HeapCheckContext::attnum

Definition at line 133 of file verify_heapam.c.

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

◆ blkno

BlockNumber HeapCheckContext::blkno

Definition at line 118 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and report_corruption().

◆ bstrategy

BufferAccessStrategy HeapCheckContext::bstrategy

Definition at line 119 of file verify_heapam.c.

◆ buffer

Buffer HeapCheckContext::buffer

Definition at line 120 of file verify_heapam.c.

◆ cached_status

XidCommitStatus HeapCheckContext::cached_status

Definition at line 105 of file verify_heapam.c.

◆ cached_xid

TransactionId HeapCheckContext::cached_xid

Definition at line 104 of file verify_heapam.c.

◆ is_corrupt

bool HeapCheckContext::is_corrupt

Definition at line 145 of file verify_heapam.c.

Referenced by report_corruption(), and report_toast_corruption().

◆ itemid

ItemId HeapCheckContext::itemid

Definition at line 125 of file verify_heapam.c.

◆ lp_len

uint16 HeapCheckContext::lp_len

Definition at line 126 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and check_tuple_header().

◆ lp_off

uint16 HeapCheckContext::lp_off

Definition at line 127 of file verify_heapam.c.

◆ natts

int HeapCheckContext::natts

Definition at line 129 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 88 of file verify_heapam.c.

Referenced by FullTransactionIdFromXidAndCtx(), and update_cached_xid_range().

◆ num_toast_indexes

int HeapCheckContext::num_toast_indexes

Definition at line 115 of file verify_heapam.c.

◆ offnum

OffsetNumber HeapCheckContext::offnum

Definition at line 124 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and report_corruption().

◆ offset

uint32 HeapCheckContext::offset

Definition at line 132 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 89 of file verify_heapam.c.

Referenced by update_cached_xid_range().

◆ page

Page HeapCheckContext::page

Definition at line 121 of file verify_heapam.c.

◆ rel

Relation HeapCheckContext::rel

Definition at line 108 of file verify_heapam.c.

Referenced by check_tuple(), and check_tuple_attribute().

◆ relfrozenfxid

FullTransactionId HeapCheckContext::relfrozenfxid

Definition at line 110 of file verify_heapam.c.

Referenced by check_tuple_visibility().

◆ relfrozenxid

TransactionId HeapCheckContext::relfrozenxid

Definition at line 109 of file verify_heapam.c.

◆ relminmxid

TransactionId HeapCheckContext::relminmxid

Definition at line 111 of file verify_heapam.c.

Referenced by check_mxid_in_range(), and check_tuple_visibility().

◆ safe_xmin

TransactionId HeapCheckContext::safe_xmin

Definition at line 92 of file verify_heapam.c.

Referenced by check_tuple_visibility().

◆ toast_indexes

Relation* HeapCheckContext::toast_indexes

Definition at line 113 of file verify_heapam.c.

◆ toast_rel

Relation HeapCheckContext::toast_rel

◆ toasted_attributes

List* HeapCheckContext::toasted_attributes

Definition at line 142 of file verify_heapam.c.

Referenced by check_tuple_attribute().

◆ tupdesc

TupleDesc HeapCheckContext::tupdesc

Definition at line 148 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 136 of file verify_heapam.c.

Referenced by check_tuple_attribute(), and check_tuple_visibility().

◆ tupstore

Tuplestorestate* HeapCheckContext::tupstore

Definition at line 149 of file verify_heapam.c.

Referenced by report_corruption(), and report_toast_corruption().

◆ valid_toast_index

Relation HeapCheckContext::valid_toast_index

Definition at line 114 of file verify_heapam.c.

Referenced by check_toasted_attribute().


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