PostgreSQL Source Code  git master
XLogReaderState Struct Reference

#include <xlogreader.h>

Data Fields

XLogReaderRoutine routine
 
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
 
TransactionId toplevel_xid
 
DecodedBkpBlock blocks [XLR_MAX_BLOCK_ID+1]
 
int max_block_id
 
char * readBuf
 
uint32 readLen
 
WALSegmentContext segcxt
 
WALOpenSegment seg
 
uint32 segoff
 
XLogRecPtr latestPagePtr
 
TimeLineID latestPageTLI
 
XLogRecPtr currRecPtr
 
TimeLineID currTLI
 
XLogRecPtr currTLIValidUntil
 
TimeLineID nextTLI
 
char * readRecordBuf
 
uint32 readRecordBufSize
 
char * errormsg_buf
 

Detailed Description

Definition at line 147 of file xlogreader.h.

Field Documentation

◆ blocks

◆ currRecPtr

XLogRecPtr XLogReaderState::currRecPtr

Definition at line 226 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 186 of file xlogreader.h.

Referenced by DecodeXLogRecord(), LogicalDecodingProcessRecord(), and ResetDecoder().

◆ EndRecPtr

XLogRecPtr XLogReaderState::EndRecPtr

Definition at line 176 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_dedup(), 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(), ReorderBufferCanStartStreaming(), replorigin_redo(), seq_redo(), smgr_redo(), spgRedoAddLeaf(), spgRedoAddNode(), spgRedoMoveLeafs(), spgRedoPickSplit(), spgRedoSplitTuple(), spgRedoVacuumLeaf(), spgRedoVacuumRedirect(), spgRedoVacuumRoot(), xact_redo(), xlog_redo(), XLogBeginRead(), XLogReadBufferForRedoExtended(), XLogReadRecord(), and XLogSendLogical().

◆ errormsg_buf

char* XLogReaderState::errormsg_buf

◆ latestPagePtr

XLogRecPtr XLogReaderState::latestPagePtr

Definition at line 222 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ latestPageTLI

TimeLineID XLogReaderState::latestPageTLI

Definition at line 223 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ main_data

char* XLogReaderState::main_data

Definition at line 188 of file xlogreader.h.

Referenced by DecodeXLogRecord(), and XLogReaderFree().

◆ main_data_bufsz

uint32 XLogReaderState::main_data_bufsz

Definition at line 190 of file xlogreader.h.

Referenced by DecodeXLogRecord().

◆ main_data_len

uint32 XLogReaderState::main_data_len

Definition at line 189 of file xlogreader.h.

Referenced by DecodeXLogRecord(), and ResetDecoder().

◆ max_block_id

◆ nextTLI

TimeLineID XLogReaderState::nextTLI

Definition at line 244 of file xlogreader.h.

Referenced by logical_read_xlog_page(), and XLogReadDetermineTimeline().

◆ private_data

void* XLogReaderState::private_data

◆ readBuf

char* XLogReaderState::readBuf

◆ readLen

uint32 XLogReaderState::readLen

◆ readRecordBuf

char* XLogReaderState::readRecordBuf

Definition at line 250 of file xlogreader.h.

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

◆ readRecordBufSize

uint32 XLogReaderState::readRecordBufSize

Definition at line 251 of file xlogreader.h.

Referenced by allocate_recordbuf(), and XLogReadRecord().

◆ ReadRecPtr

◆ record_origin

RepOriginId XLogReaderState::record_origin

Definition at line 192 of file xlogreader.h.

Referenced by DecodeXLogRecord().

◆ routine

XLogReaderRoutine XLogReaderState::routine

Definition at line 152 of file xlogreader.h.

Referenced by ReadPageInternal(), WALRead(), XLogReaderAllocate(), and XLogReaderFree().

◆ seg

◆ segcxt

◆ segoff

uint32 XLogReaderState::segoff

◆ system_identifier

uint64 XLogReaderState::system_identifier

Definition at line 163 of file xlogreader.h.

Referenced by StartupXLOG(), and XLogReaderValidatePageHeader().

◆ toplevel_xid

TransactionId XLogReaderState::toplevel_xid

Definition at line 194 of file xlogreader.h.

Referenced by DecodeXLogRecord().


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