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 ThisTimeLineID
 
TimeLineID PrevTimeLineID
 
bool SharedRecoveryInProgress
 
bool SharedHotStandbyActive
 
bool WalWriterSleeping
 
Latch recoveryWakeupLatch
 
XLogRecPtr lastCheckPointRecPtr
 
XLogRecPtr lastCheckPointEndPtr
 
CheckPoint lastCheckPoint
 
XLogRecPtr lastReplayedEndRecPtr
 
TimeLineID lastReplayedTLI
 
XLogRecPtr replayEndRecPtr
 
TimeLineID replayEndTLI
 
TimestampTz recoveryLastXTime
 
TimestampTz currentChunkStartTime
 
bool recoveryPause
 
XLogRecPtr lastFpwDisableRecPtr
 
slock_t info_lck
 

Detailed Description

Definition at line 588 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 596 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 595 of file xlog.c.

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

◆ currentChunkStartTime

TimestampTz XLogCtlData::currentChunkStartTime

Definition at line 700 of file xlog.c.

Referenced by GetCurrentChunkReplayStartTime(), SetCurrentChunkStartTime(), and StartupXLOG().

◆ info_lck

◆ InitializedUpTo

XLogRecPtr XLogCtlData::InitializedUpTo

Definition at line 625 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ Insert

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 681 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 680 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 679 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 708 of file xlog.c.

Referenced by do_pg_start_backup(), do_pg_stop_backup(), and xlog_redo().

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 599 of file xlog.c.

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

◆ lastReplayedEndRecPtr

XLogRecPtr XLogCtlData::lastReplayedEndRecPtr

Definition at line 689 of file xlog.c.

Referenced by CheckRecoveryConsistency(), GetXLogReplayRecPtr(), and StartupXLOG().

◆ lastReplayedTLI

TimeLineID XLogCtlData::lastReplayedTLI

Definition at line 690 of file xlog.c.

Referenced by GetXLogReplayRecPtr(), and StartupXLOG().

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 607 of file xlog.c.

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

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 606 of file xlog.c.

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

◆ LogwrtResult

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

Definition at line 632 of file xlog.c.

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

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 643 of file xlog.c.

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

◆ recoveryLastXTime

TimestampTz XLogCtlData::recoveryLastXTime

Definition at line 694 of file xlog.c.

Referenced by GetLatestXTime(), SetLatestXTime(), and StartupXLOG().

◆ recoveryPause

bool XLogCtlData::recoveryPause

Definition at line 702 of file xlog.c.

Referenced by RecoveryIsPaused(), SetRecoveryPause(), and StartupXLOG().

◆ recoveryWakeupLatch

Latch XLogCtlData::recoveryWakeupLatch

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 594 of file xlog.c.

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

◆ replayEndRecPtr

XLogRecPtr XLogCtlData::replayEndRecPtr

Definition at line 691 of file xlog.c.

Referenced by StartupXLOG(), and UpdateMinRecoveryPoint().

◆ replayEndTLI

TimeLineID XLogCtlData::replayEndTLI

Definition at line 692 of file xlog.c.

Referenced by StartupXLOG(), and UpdateMinRecoveryPoint().

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 597 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedHotStandbyActive

bool XLogCtlData::SharedHotStandbyActive

Definition at line 655 of file xlog.c.

Referenced by CheckRecoveryConsistency(), HotStandbyActive(), and XLOGShmemInit().

◆ SharedRecoveryInProgress

bool XLogCtlData::SharedRecoveryInProgress

Definition at line 649 of file xlog.c.

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

◆ ThisTimeLineID

TimeLineID XLogCtlData::ThisTimeLineID

Definition at line 642 of file xlog.c.

Referenced by InitXLOGAccess(), and StartupXLOG().

◆ ulsn_lck

slock_t XLogCtlData::ulsn_lck

Definition at line 603 of file xlog.c.

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

◆ unloggedLSN

XLogRecPtr XLogCtlData::unloggedLSN

Definition at line 602 of file xlog.c.

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

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 662 of file xlog.c.

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

◆ xlblocks

XLogRecPtr* XLogCtlData::xlblocks

Definition at line 633 of file xlog.c.

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

◆ XLogCacheBlck

int XLogCtlData::XLogCacheBlck

Definition at line 634 of file xlog.c.

Referenced by XLOGShmemInit(), and XLogWrite().


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