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
 
RecoveryState SharedRecoveryState
 
bool SharedHotStandbyActive
 
bool SharedPromoteIsTriggered
 
bool WalWriterSleeping
 
LatchrecoveryWakeupLatch
 
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 598 of file xlog.c.

Field Documentation

◆ asyncXactLSN

XLogRecPtr XLogCtlData::asyncXactLSN

Definition at line 606 of file xlog.c.

Referenced by XLogBackgroundFlush(), and XLogSetAsyncXactLSN().

◆ ckptFullXid

FullTransactionId XLogCtlData::ckptFullXid

Definition at line 605 of file xlog.c.

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

◆ currentChunkStartTime

TimestampTz XLogCtlData::currentChunkStartTime

Definition at line 716 of file xlog.c.

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

◆ info_lck

◆ InitializedUpTo

XLogRecPtr XLogCtlData::InitializedUpTo

Definition at line 635 of file xlog.c.

Referenced by AdvanceXLInsertBuffer(), and StartupXLOG().

◆ Insert

◆ lastCheckPoint

CheckPoint XLogCtlData::lastCheckPoint

Definition at line 697 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointEndPtr

XLogRecPtr XLogCtlData::lastCheckPointEndPtr

Definition at line 696 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastCheckPointRecPtr

XLogRecPtr XLogCtlData::lastCheckPointRecPtr

Definition at line 695 of file xlog.c.

Referenced by CreateRestartPoint(), and RecoveryRestartPoint().

◆ lastFpwDisableRecPtr

XLogRecPtr XLogCtlData::lastFpwDisableRecPtr

Definition at line 724 of file xlog.c.

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

◆ lastRemovedSegNo

XLogSegNo XLogCtlData::lastRemovedSegNo

Definition at line 609 of file xlog.c.

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

◆ lastReplayedEndRecPtr

XLogRecPtr XLogCtlData::lastReplayedEndRecPtr

Definition at line 705 of file xlog.c.

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

◆ lastReplayedTLI

TimeLineID XLogCtlData::lastReplayedTLI

Definition at line 706 of file xlog.c.

Referenced by GetXLogReplayRecPtr(), and StartupXLOG().

◆ lastSegSwitchLSN

XLogRecPtr XLogCtlData::lastSegSwitchLSN

Definition at line 617 of file xlog.c.

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

◆ lastSegSwitchTime

pg_time_t XLogCtlData::lastSegSwitchTime

Definition at line 616 of file xlog.c.

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

◆ LogwrtResult

◆ LogwrtRqst

◆ pages

char* XLogCtlData::pages

Definition at line 642 of file xlog.c.

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

◆ PrevTimeLineID

TimeLineID XLogCtlData::PrevTimeLineID

Definition at line 653 of file xlog.c.

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

◆ recoveryLastXTime

TimestampTz XLogCtlData::recoveryLastXTime

Definition at line 710 of file xlog.c.

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

◆ recoveryPause

bool XLogCtlData::recoveryPause

Definition at line 718 of file xlog.c.

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

◆ recoveryWakeupLatch

Latch* XLogCtlData::recoveryWakeupLatch

Definition at line 685 of file xlog.c.

Referenced by StartupXLOG(), and WakeupRecovery().

◆ RedoRecPtr

XLogRecPtr XLogCtlData::RedoRecPtr

Definition at line 604 of file xlog.c.

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

◆ replayEndRecPtr

XLogRecPtr XLogCtlData::replayEndRecPtr

Definition at line 707 of file xlog.c.

Referenced by StartupXLOG(), and UpdateMinRecoveryPoint().

◆ replayEndTLI

TimeLineID XLogCtlData::replayEndTLI

Definition at line 708 of file xlog.c.

Referenced by StartupXLOG(), and UpdateMinRecoveryPoint().

◆ replicationSlotMinLSN

XLogRecPtr XLogCtlData::replicationSlotMinLSN

Definition at line 607 of file xlog.c.

Referenced by XLogGetReplicationSlotMinimumLSN(), and XLogSetReplicationSlotMinimumLSN().

◆ SharedHotStandbyActive

bool XLogCtlData::SharedHotStandbyActive

Definition at line 665 of file xlog.c.

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

◆ SharedPromoteIsTriggered

bool XLogCtlData::SharedPromoteIsTriggered

Definition at line 671 of file xlog.c.

Referenced by PromoteIsTriggered(), SetPromoteIsTriggered(), and XLOGShmemInit().

◆ SharedRecoveryState

RecoveryState XLogCtlData::SharedRecoveryState

Definition at line 659 of file xlog.c.

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

◆ ThisTimeLineID

TimeLineID XLogCtlData::ThisTimeLineID

Definition at line 652 of file xlog.c.

Referenced by InitXLOGAccess(), and StartupXLOG().

◆ ulsn_lck

slock_t XLogCtlData::ulsn_lck

Definition at line 613 of file xlog.c.

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

◆ unloggedLSN

XLogRecPtr XLogCtlData::unloggedLSN

Definition at line 612 of file xlog.c.

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

◆ WalWriterSleeping

bool XLogCtlData::WalWriterSleeping

Definition at line 678 of file xlog.c.

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

◆ xlblocks

XLogRecPtr* XLogCtlData::xlblocks

Definition at line 643 of file xlog.c.

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

◆ XLogCacheBlck

int XLogCtlData::XLogCacheBlck

Definition at line 644 of file xlog.c.

Referenced by XLOGShmemInit(), and XLogWrite().


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