PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 InitializedFrom
 
pg_atomic_uint64 InitializeReserved
 
pg_atomic_uint64 InitializedUpTo
 
ConditionVariable InitializedUpToCondVar
 
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 445 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 453 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 452 of file xlog.c.

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

◆ info_lck

◆ InitializedFrom

XLogRecPtr XLogCtlData::InitializedFrom

Definition at line 473 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ InitializedUpTo

pg_atomic_uint64 XLogCtlData::InitializedUpTo

Definition at line 494 of file xlog.c.

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

◆ InitializedUpToCondVar

ConditionVariable XLogCtlData::InitializedUpToCondVar

Definition at line 495 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and XLOGShmemInit().

◆ InitializeReserved

pg_atomic_uint64 XLogCtlData::InitializeReserved

Definition at line 486 of file xlog.c.

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

◆ Insert

◆ InsertTimeLineID

◆ InstallXLogFileSegmentActive

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 556 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 555 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 554 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 562 of file xlog.c.

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

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 456 of file xlog.c.

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

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 463 of file xlog.c.

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

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 462 of file xlog.c.

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

◆ logFlushResult

pg_atomic_uint64 XLogCtlData::logFlushResult

Definition at line 468 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 467 of file xlog.c.

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

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 521 of file xlog.c.

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

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 451 of file xlog.c.

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

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 454 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedRecoveryState

◆ unloggedLSN

pg_atomic_uint64 XLogCtlData::unloggedLSN

Definition at line 459 of file xlog.c.

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

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 544 of file xlog.c.

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

◆ xlblocks

pg_atomic_uint64* XLogCtlData::xlblocks

◆ 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: