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
 
XLogRecPtr abortedRecPtr
 
XLogRecPtr missingContrecPtr
 
XLogRecPtr overwrittenRecPtr
 
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
 
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
 
bool errormsg_deferred
 
bool nonblocking
 

Detailed Description

Definition at line 175 of file xlogreader.h.

Field Documentation

◆ abortedRecPtr

XLogRecPtr XLogReaderState::abortedRecPtr

Definition at line 214 of file xlogreader.h.

Referenced by ReadRecord().

◆ currRecPtr

XLogRecPtr XLogReaderState::currRecPtr

Definition at line 283 of file xlogreader.h.

◆ currTLI

TimeLineID XLogReaderState::currTLI

Definition at line 285 of file xlogreader.h.

◆ currTLIValidUntil

XLogRecPtr XLogReaderState::currTLIValidUntil

Definition at line 295 of file xlogreader.h.

◆ decode_buffer

char* XLogReaderState::decode_buffer

Definition at line 249 of file xlogreader.h.

◆ decode_buffer_head

char* XLogReaderState::decode_buffer_head

Definition at line 252 of file xlogreader.h.

◆ decode_buffer_size

size_t XLogReaderState::decode_buffer_size

Definition at line 250 of file xlogreader.h.

◆ decode_buffer_tail

char* XLogReaderState::decode_buffer_tail

Definition at line 253 of file xlogreader.h.

◆ decode_queue_head

DecodedXLogRecord* XLogReaderState::decode_queue_head

Definition at line 260 of file xlogreader.h.

Referenced by XLogPrefetcherComputeStats().

◆ decode_queue_tail

DecodedXLogRecord* XLogReaderState::decode_queue_tail

Definition at line 261 of file xlogreader.h.

Referenced by XLogPrefetcherComputeStats(), and XLogPrefetcherNextBlock().

◆ DecodeRecPtr

XLogRecPtr XLogReaderState::DecodeRecPtr

Definition at line 231 of file xlogreader.h.

◆ EndRecPtr

XLogRecPtr XLogReaderState::EndRecPtr

Definition at line 207 of file xlogreader.h.

Referenced by _bt_clear_incomplete_split(), _bt_restore_meta(), ApplyWalRecord(), 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(), DecodingContextFindStartpoint(), extractPageMap(), FinishWalRecovery(), generic_redo(), GetWALRecordInfo(), 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(), main(), PerformWalRecovery(), pg_get_wal_record_info(), pg_logical_replication_slot_advance(), ReadNextXLogRecord(), readOneRecord(), ReadRecord(), RecoveryRestartPoint(), ReorderBufferCanStartStreaming(), replorigin_redo(), seq_redo(), smgr_redo(), spgRedoAddLeaf(), spgRedoAddNode(), spgRedoMoveLeafs(), spgRedoPickSplit(), spgRedoSplitTuple(), spgRedoVacuumLeaf(), spgRedoVacuumRedirect(), spgRedoVacuumRoot(), verifyBackupPageConsistency(), xact_redo(), xlog_redo(), XLogPageRead(), XLogReadBufferForRedoExtended(), xlogrecovery_redo(), and XLogSendLogical().

◆ errormsg_buf

char* XLogReaderState::errormsg_buf

◆ errormsg_deferred

bool XLogReaderState::errormsg_deferred

Definition at line 312 of file xlogreader.h.

◆ free_decode_buffer

bool XLogReaderState::free_decode_buffer

Definition at line 251 of file xlogreader.h.

◆ latestPagePtr

XLogRecPtr XLogReaderState::latestPagePtr

Definition at line 279 of file xlogreader.h.

Referenced by ReadRecord().

◆ latestPageTLI

TimeLineID XLogReaderState::latestPageTLI

Definition at line 280 of file xlogreader.h.

Referenced by ReadRecord().

◆ missingContrecPtr

XLogRecPtr XLogReaderState::missingContrecPtr

Definition at line 215 of file xlogreader.h.

Referenced by ReadRecord().

◆ NextRecPtr

XLogRecPtr XLogReaderState::NextRecPtr

Definition at line 232 of file xlogreader.h.

◆ nextTLI

TimeLineID XLogReaderState::nextTLI

Definition at line 301 of file xlogreader.h.

◆ nonblocking

bool XLogReaderState::nonblocking

Definition at line 318 of file xlogreader.h.

Referenced by XLogPageRead().

◆ overwrittenRecPtr

XLogRecPtr XLogReaderState::overwrittenRecPtr

Definition at line 217 of file xlogreader.h.

Referenced by xlogrecovery_redo().

◆ PrevRecPtr

XLogRecPtr XLogReaderState::PrevRecPtr

Definition at line 233 of file xlogreader.h.

◆ private_data

void* XLogReaderState::private_data

◆ readBuf

char* XLogReaderState::readBuf

Definition at line 267 of file xlogreader.h.

Referenced by FinishWalRecovery().

◆ readLen

uint32 XLogReaderState::readLen

Definition at line 268 of file xlogreader.h.

◆ readRecordBuf

char* XLogReaderState::readRecordBuf

Definition at line 307 of file xlogreader.h.

◆ readRecordBufSize

uint32 XLogReaderState::readRecordBufSize

Definition at line 308 of file xlogreader.h.

◆ ReadRecPtr

◆ record

◆ routine

XLogReaderRoutine XLogReaderState::routine

Definition at line 180 of file xlogreader.h.

◆ seg

◆ segcxt

WALSegmentContext XLogReaderState::segcxt

Definition at line 271 of file xlogreader.h.

Referenced by SimpleXLogPageRead(), and XLogSendPhysical().

◆ segoff

uint32 XLogReaderState::segoff

Definition at line 273 of file xlogreader.h.

◆ system_identifier

uint64 XLogReaderState::system_identifier

Definition at line 191 of file xlogreader.h.

Referenced by InitWalRecovery().


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