PostgreSQL Source Code  git master
XLogCtlData Struct Reference

Data Fields

XLogCtlInsert Insert
 
XLogwrtRqst LogwrtRqst
 
XLogRecPtr RedoRecPtr
 
FullTransactionId ckptFullXid
 
XLogRecPtr asyncXactLSN
 
XLogRecPtr replicationSlotMinLSN
 
XLogSegNo lastRemovedSegNo
 
pg_atomic_uint64 unloggedLSN
 
pg_time_t lastSegSwitchTime
 
XLogRecPtr lastSegSwitchLSN
 
pg_atomic_uint64 logInsertResult
 
pg_atomic_uint64 logWriteResult
 
pg_atomic_uint64 logFlushResult
 
XLogRecPtr InitializedUpTo
 
char * pages
 
pg_atomic_uint64xlblocks
 
int XLogCacheBlck
 
TimeLineID InsertTimeLineID
 
TimeLineID PrevTimeLineID
 
RecoveryState SharedRecoveryState
 
bool InstallXLogFileSegmentActive
 
bool WalWriterSleeping
 
XLogRecPtr lastCheckPointRecPtr
 
XLogRecPtr lastCheckPointEndPtr
 
CheckPoint lastCheckPoint
 
XLogRecPtr lastFpwDisableRecPtr
 
slock_t info_lck
 

Detailed Description

Definition at line 450 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 458 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 457 of file xlog.c.

Referenced by CreateCheckPoint(), StartupXLOG(), and xlog_redo().

◆ info_lck

◆ InitializedUpTo

XLogRecPtr XLogCtlData::InitializedUpTo

Definition at line 485 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ Insert

◆ InsertTimeLineID

◆ InstallXLogFileSegmentActive

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 540 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 539 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 538 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 546 of file xlog.c.

Referenced by do_pg_backup_start(), do_pg_backup_stop(), and xlog_redo().

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 461 of file xlog.c.

Referenced by CheckXLogRemoved(), UpdateLastRemovedPtr(), and XLogGetLastRemovedSegno().

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 468 of file xlog.c.

Referenced by GetLastSegSwitchData(), StartupXLOG(), and XLogWrite().

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 467 of file xlog.c.

Referenced by GetLastSegSwitchData(), StartupXLOG(), and XLogWrite().

◆ logFlushResult

pg_atomic_uint64 XLogCtlData::logFlushResult

Definition at line 473 of file xlog.c.

Referenced by StartupXLOG(), XLOGShmemInit(), and XLogWrite().

◆ logInsertResult

pg_atomic_uint64 XLogCtlData::logInsertResult

◆ logWriteResult

pg_atomic_uint64 XLogCtlData::logWriteResult

Definition at line 472 of file xlog.c.

Referenced by StartupXLOG(), XLOGShmemInit(), and XLogWrite().

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 505 of file xlog.c.

Referenced by CreateCheckPoint(), CreateEndOfRecoveryRecord(), and StartupXLOG().

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 456 of file xlog.c.

Referenced by CreateCheckPoint(), CreateRestartPoint(), GetRedoRecPtr(), and StartupXLOG().

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 459 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedRecoveryState

◆ unloggedLSN

pg_atomic_uint64 XLogCtlData::unloggedLSN

Definition at line 464 of file xlog.c.

Referenced by CreateCheckPoint(), GetFakeLSNForUnloggedRel(), StartupXLOG(), and XLOGShmemInit().

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 528 of file xlog.c.

Referenced by SetWalWriterSleeping(), XLogSetAsyncXactLSN(), and XLOGShmemInit().

◆ xlblocks

pg_atomic_uint64* XLogCtlData::xlblocks

◆ XLogCacheBlck

int XLogCtlData::XLogCacheBlck

Definition at line 494 of file xlog.c.

Referenced by XLOGShmemInit(), and XLogWrite().


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