PostgreSQL Source Code  git master
XLogReaderState Struct Reference

#include <xlogreader.h>

Data Fields

WALSegmentCleanupCB cleanup_cb
 
uint64 system_identifier
 
XLogRecPtr ReadRecPtr
 
XLogRecPtr EndRecPtr
 
XLogRecPtr readPagePtr
 
int32 reqLen
 
char * readBuf
 
bool page_verified
 
bool record_verified
 
int32 readLen
 
XLogRecPtr DecodeRecPtr
 
XLogRecPtr NextRecPtr
 
XLogRecPtr PrevRecPtr
 
DecodedXLogRecordrecord
 
char * decode_buffer
 
size_t decode_buffer_size
 
bool free_decode_buffer
 
char * decode_buffer_head
 
char * decode_buffer_tail
 
DecodedXLogRecorddecode_queue_head
 
DecodedXLogRecorddecode_queue_tail
 
WALSegmentContext segcxt
 
WALOpenSegment seg
 
uint32 segoff
 
XLogRecPtr latestPagePtr
 
TimeLineID latestPageTLI
 
TimeLineID currTLI
 
XLogRecPtr currTLIValidUntil
 
TimeLineID nextTLI
 
char * readRecordBuf
 
uint32 readRecordBufSize
 
XLogReadRecordState readRecordState
 
int recordGotLen
 
int recordRemainLen
 
XLogRecPtr recordContRecPtr
 
DecodedXLogRecorddecoding
 
char * errormsg_buf
 
bool errormsg_deferred
 

Detailed Description

Definition at line 152 of file xlogreader.h.

Field Documentation

◆ cleanup_cb

WALSegmentCleanupCB XLogReaderState::cleanup_cb

Definition at line 157 of file xlogreader.h.

Referenced by XLogReaderAllocate(), and XLogReaderFree().

◆ currTLI

TimeLineID XLogReaderState::currTLI

◆ currTLIValidUntil

XLogRecPtr XLogReaderState::currTLIValidUntil

◆ decode_buffer

char* XLogReaderState::decode_buffer

◆ decode_buffer_head

char* XLogReaderState::decode_buffer_head

◆ decode_buffer_size

size_t XLogReaderState::decode_buffer_size

Definition at line 228 of file xlogreader.h.

Referenced by XLogReaderSetDecodeBuffer(), and XLogReadRecordAlloc().

◆ decode_buffer_tail

char* XLogReaderState::decode_buffer_tail

◆ decode_queue_head

DecodedXLogRecord* XLogReaderState::decode_queue_head

◆ decode_queue_tail

DecodedXLogRecord* XLogReaderState::decode_queue_tail

◆ DecodeRecPtr

XLogRecPtr XLogReaderState::DecodeRecPtr

Definition at line 209 of file xlogreader.h.

Referenced by XLogBeginRead(), XLogDecodeOneRecord(), XLogNextRecord(), and XLogPageRead().

◆ decoding

DecodedXLogRecord* XLogReaderState::decoding

Definition at line 288 of file xlogreader.h.

Referenced by ResetDecoder(), XLogDecodeOneRecord(), and XLogReleasePreviousRecord().

◆ EndRecPtr

XLogRecPtr XLogReaderState::EndRecPtr

Definition at line 179 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_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_prune(), heap_xlog_update(), heap_xlog_vacuum(), 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(), XLogNextRecord(), XLogPrefetcherFree(), XLogReadBufferForRedoExtended(), and XLogSendLogical().

◆ errormsg_buf

◆ errormsg_deferred

bool XLogReaderState::errormsg_deferred

Definition at line 292 of file xlogreader.h.

Referenced by report_invalid_record(), ResetDecoder(), XLogNextRecord(), and XLogReadAhead().

◆ free_decode_buffer

bool XLogReaderState::free_decode_buffer

Definition at line 229 of file xlogreader.h.

Referenced by XLogReaderFree(), and XLogReadRecordAlloc().

◆ latestPagePtr

XLogRecPtr XLogReaderState::latestPagePtr

Definition at line 250 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ latestPageTLI

TimeLineID XLogReaderState::latestPageTLI

Definition at line 251 of file xlogreader.h.

Referenced by ReadRecord(), and XLogReaderValidatePageHeader().

◆ NextRecPtr

XLogRecPtr XLogReaderState::NextRecPtr

Definition at line 210 of file xlogreader.h.

Referenced by XLogBeginRead(), and XLogDecodeOneRecord().

◆ nextTLI

TimeLineID XLogReaderState::nextTLI

Definition at line 270 of file xlogreader.h.

Referenced by logical_read_xlog_page(), and XLogReadDetermineTimeline().

◆ page_verified

bool XLogReaderState::page_verified

◆ PrevRecPtr

XLogRecPtr XLogReaderState::PrevRecPtr

Definition at line 211 of file xlogreader.h.

Referenced by XLogDecodeOneRecord().

◆ readBuf

◆ readLen

◆ readPagePtr

◆ readRecordBuf

char* XLogReaderState::readRecordBuf

Definition at line 276 of file xlogreader.h.

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

◆ readRecordBufSize

uint32 XLogReaderState::readRecordBufSize

Definition at line 277 of file xlogreader.h.

Referenced by allocate_recordbuf(), and XLogDecodeOneRecord().

◆ readRecordState

XLogReadRecordState XLogReaderState::readRecordState

Definition at line 282 of file xlogreader.h.

Referenced by XLogBeginRead(), and XLogDecodeOneRecord().

◆ ReadRecPtr

◆ record

◆ record_verified

bool XLogReaderState::record_verified

Definition at line 191 of file xlogreader.h.

Referenced by XLogDecodeOneRecord().

◆ recordContRecPtr

XLogRecPtr XLogReaderState::recordContRecPtr

Definition at line 286 of file xlogreader.h.

Referenced by XLogDecodeOneRecord().

◆ recordGotLen

int XLogReaderState::recordGotLen

Definition at line 283 of file xlogreader.h.

Referenced by XLogDecodeOneRecord().

◆ recordRemainLen

int XLogReaderState::recordRemainLen

Definition at line 285 of file xlogreader.h.

Referenced by XLogDecodeOneRecord().

◆ reqLen

◆ seg

◆ segcxt

◆ segoff

uint32 XLogReaderState::segoff

Definition at line 244 of file xlogreader.h.

◆ system_identifier

uint64 XLogReaderState::system_identifier

Definition at line 168 of file xlogreader.h.

Referenced by StartupXLOG(), and XLogReaderValidatePageHeader().


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