PostgreSQL Source Code  git master
LagTracker Struct Reference

Data Fields

XLogRecPtr last_lsn
 
WalTimeSample buffer [LAG_TRACKER_BUFFER_SIZE]
 
int write_head
 
int read_heads [NUM_SYNC_REP_WAIT_MODE]
 
WalTimeSample last_read [NUM_SYNC_REP_WAIT_MODE]
 

Detailed Description

Definition at line 206 of file walsender.c.

Field Documentation

◆ buffer

Definition at line 209 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().

◆ last_lsn

XLogRecPtr LagTracker::last_lsn

Definition at line 208 of file walsender.c.

Referenced by LagTrackerWrite().

◆ last_read

WalTimeSample LagTracker::last_read[NUM_SYNC_REP_WAIT_MODE]

Definition at line 212 of file walsender.c.

Referenced by LagTrackerRead().

◆ read_heads

int LagTracker::read_heads[NUM_SYNC_REP_WAIT_MODE]

Definition at line 211 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().

◆ write_head

int LagTracker::write_head

Definition at line 210 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().


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