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 459 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 467 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 466 of file xlog.c.

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

◆ info_lck

◆ InitializedUpTo

XLogRecPtr XLogCtlData::InitializedUpTo

Definition at line 496 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ Insert

◆ InsertTimeLineID

◆ InstallXLogFileSegmentActive

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 551 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 550 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 549 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 557 of file xlog.c.

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

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 470 of file xlog.c.

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

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 478 of file xlog.c.

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

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 477 of file xlog.c.

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

◆ LogwrtResult

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

Definition at line 503 of file xlog.c.

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

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 516 of file xlog.c.

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

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 465 of file xlog.c.

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

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 468 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedRecoveryState

◆ ulsn_lck

slock_t XLogCtlData::ulsn_lck

Definition at line 474 of file xlog.c.

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

◆ unloggedLSN

XLogRecPtr XLogCtlData::unloggedLSN

Definition at line 473 of file xlog.c.

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

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 539 of file xlog.c.

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

◆ xlblocks

XLogRecPtr* XLogCtlData::xlblocks

Definition at line 504 of file xlog.c.

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

◆ XLogCacheBlck

int XLogCtlData::XLogCacheBlck

Definition at line 505 of file xlog.c.

Referenced by XLOGShmemInit(), and XLogWrite().


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