PostgreSQL Source Code  git master
XLogReaderState Struct Reference

#include <xlogreader.h>

Data Fields

XLogPageReadCB read_page
 
uint64 system_identifier
 
void * private_data
 
XLogRecPtr ReadRecPtr
 
XLogRecPtr EndRecPtr
 
XLogRecorddecoded_record
 
char * main_data
 
uint32 main_data_len
 
uint32 main_data_bufsz
 
RepOriginId record_origin
 
DecodedBkpBlock blocks [XLR_MAX_BLOCK_ID+1]
 
int max_block_id
 
char * readBuf
 
uint32 readLen
 
WALSegmentContext segcxt
 
WALOpenSegment seg
 
XLogRecPtr latestPagePtr
 
TimeLineID latestPageTLI
 
XLogRecPtr currRecPtr
 
TimeLineID currTLI
 
XLogRecPtr currTLIValidUntil
 
TimeLineID nextTLI
 
char * readRecordBuf
 
uint32 readRecordBufSize
 
char * errormsg_buf
 

Detailed Description

Definition at line 88 of file xlogreader.h.

Field Documentation

◆ blocks

◆ currRecPtr

XLogRecPtr XLogReaderState::currRecPtr

Definition at line 180 of file xlogreader.h.

Referenced by ReadPageInternal(), and XLogReadRecord().

◆ currTLI

TimeLineID XLogReaderState::currTLI

◆ currTLIValidUntil

XLogRecPtr XLogReaderState::currTLIValidUntil

◆ decoded_record

XLogRecord* XLogReaderState::decoded_record

Definition at line 143 of file xlogreader.h.

Referenced by DecodeXLogRecord(), and ResetDecoder().

◆ EndRecPtr

XLogRecPtr XLogReaderState::EndRecPtr

Definition at line 133 of file xlogreader.h.

Referenced by _bt_clear_incomplete_split(), _bt_restore_meta(), brin_xlog_createidx(), brin_xlog_desummarize_page(), brin_xlog_insert_update(), brin_xlog_revmap_extend(), brin_xlog_samepage_update(), brin_xlog_update(), btree_xlog_delete(), btree_xlog_insert(), btree_xlog_mark_page_halfdead(), btree_xlog_newroot(), btree_xlog_split(), btree_xlog_unlink_page(), btree_xlog_vacuum(), checkXLogConsistency(), DecodeAbort(), DecodingContextFindStartpoint(), extractPageMap(), generic_redo(), ginRedoClearIncompleteSplit(), ginRedoCreatePTree(), ginRedoDeleteListPages(), ginRedoDeletePage(), ginRedoInsert(), ginRedoInsertListPage(), ginRedoUpdateMetapage(), ginRedoVacuumDataLeafPage(), gistRedoClearFollowRight(), gistRedoDeleteRecord(), gistRedoPageDelete(), gistRedoPageSplitRecord(), gistRedoPageUpdateRecord(), hash_xlog_add_ovfl_page(), hash_xlog_delete(), hash_xlog_init_bitmap_page(), hash_xlog_init_meta_page(), hash_xlog_insert(), hash_xlog_move_page_contents(), hash_xlog_split_allocate_page(), hash_xlog_split_cleanup(), hash_xlog_split_complete(), hash_xlog_squeeze_page(), hash_xlog_update_meta_page(), hash_xlog_vacuum_one_page(), heap_xlog_clean(), heap_xlog_confirm(), heap_xlog_delete(), heap_xlog_freeze_page(), heap_xlog_inplace(), heap_xlog_insert(), heap_xlog_lock(), heap_xlog_lock_updated(), heap_xlog_multi_insert(), heap_xlog_update(), heap_xlog_visible(), LogicalDecodingProcessRecord(), pg_logical_replication_slot_advance(), readOneRecord(), ReadRecord(), replorigin_redo(), seq_redo(), smgr_redo(), spgRedoAddLeaf(), spgRedoAddNode(), spgRedoMoveLeafs(), spgRedoPickSplit(), spgRedoSplitTuple(), spgRedoVacuumLeaf(), spgRedoVacuumRedirect(), spgRedoVacuumRoot(), xact_redo(), xlog_redo(), XLogReadBufferForRedoExtended(), XLogReaderValidatePageHeader(), XLogReadRecord(), and XLogSendLogical().

◆ errormsg_buf

char* XLogReaderState::errormsg_buf

◆ latestPagePtr

XLogRecPtr XLogReaderState::latestPagePtr

Definition at line 176 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ latestPageTLI

TimeLineID XLogReaderState::latestPageTLI

Definition at line 177 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ main_data

char* XLogReaderState::main_data

Definition at line 145 of file xlogreader.h.

Referenced by DecodeXLogRecord(), and XLogReaderFree().

◆ main_data_bufsz

uint32 XLogReaderState::main_data_bufsz

Definition at line 147 of file xlogreader.h.

Referenced by DecodeXLogRecord().

◆ main_data_len

uint32 XLogReaderState::main_data_len

Definition at line 146 of file xlogreader.h.

Referenced by DecodeXLogRecord(), and ResetDecoder().

◆ max_block_id

◆ nextTLI

TimeLineID XLogReaderState::nextTLI

Definition at line 198 of file xlogreader.h.

Referenced by logical_read_xlog_page(), and XLogReadDetermineTimeline().

◆ private_data

void* XLogReaderState::private_data

◆ read_page

XLogPageReadCB XLogReaderState::read_page

Definition at line 115 of file xlogreader.h.

Referenced by ReadPageInternal(), and XLogReaderAllocate().

◆ readBuf

char* XLogReaderState::readBuf

◆ readLen

uint32 XLogReaderState::readLen

◆ readRecordBuf

char* XLogReaderState::readRecordBuf

Definition at line 204 of file xlogreader.h.

Referenced by allocate_recordbuf(), XLogReaderFree(), and XLogReadRecord().

◆ readRecordBufSize

uint32 XLogReaderState::readRecordBufSize

Definition at line 205 of file xlogreader.h.

Referenced by allocate_recordbuf(), and XLogReadRecord().

◆ ReadRecPtr

◆ record_origin

RepOriginId XLogReaderState::record_origin

Definition at line 149 of file xlogreader.h.

Referenced by DecodeXLogRecord().

◆ seg

◆ segcxt

◆ system_identifier

uint64 XLogReaderState::system_identifier

Definition at line 121 of file xlogreader.h.

Referenced by StartupXLOG(), and XLogReaderValidatePageHeader().


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