PostgreSQL Source Code  git master
XLogCtlData Struct Reference

Data Fields

XLogCtlInsert Insert
 
XLogwrtRqst LogwrtRqst
 
XLogRecPtr RedoRecPtr
 
FullTransactionId ckptFullXid
 
XLogRecPtr asyncXactLSN
 
XLogRecPtr replicationSlotMinLSN
 
XLogSegNo lastRemovedSegNo
 
XLogRecPtr unloggedLSN
 
slock_t ulsn_lck
 
pg_time_t lastSegSwitchTime
 
XLogRecPtr lastSegSwitchLSN
 
XLogwrtResult LogwrtResult
 
XLogRecPtr InitializedUpTo
 
char * pages
 
XLogRecPtrxlblocks
 
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 455 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 463 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 462 of file xlog.c.

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

◆ info_lck

◆ InitializedUpTo

XLogRecPtr XLogCtlData::InitializedUpTo

Definition at line 492 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ Insert

◆ InsertTimeLineID

◆ InstallXLogFileSegmentActive

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 547 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 546 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 545 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 553 of file xlog.c.

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

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 466 of file xlog.c.

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

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 474 of file xlog.c.

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

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 473 of file xlog.c.

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

◆ LogwrtResult

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

Definition at line 499 of file xlog.c.

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

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 512 of file xlog.c.

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

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 461 of file xlog.c.

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

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 464 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedRecoveryState

◆ ulsn_lck

slock_t XLogCtlData::ulsn_lck

Definition at line 470 of file xlog.c.

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

◆ unloggedLSN

XLogRecPtr XLogCtlData::unloggedLSN

Definition at line 469 of file xlog.c.

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

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 535 of file xlog.c.

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

◆ xlblocks

XLogRecPtr* XLogCtlData::xlblocks

Definition at line 500 of file xlog.c.

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

◆ XLogCacheBlck

int XLogCtlData::XLogCacheBlck

Definition at line 501 of file xlog.c.

Referenced by XLOGShmemInit(), and XLogWrite().


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