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 221 of file walsender.c.

Field Documentation

◆ buffer

Definition at line 224 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().

◆ last_lsn

XLogRecPtr LagTracker::last_lsn

Definition at line 223 of file walsender.c.

Referenced by LagTrackerWrite().

◆ last_read

WalTimeSample LagTracker::last_read[NUM_SYNC_REP_WAIT_MODE]

Definition at line 227 of file walsender.c.

Referenced by LagTrackerRead().

◆ read_heads

int LagTracker::read_heads[NUM_SYNC_REP_WAIT_MODE]

Definition at line 226 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().

◆ write_head

int LagTracker::write_head

Definition at line 225 of file walsender.c.

Referenced by LagTrackerRead(), and LagTrackerWrite().


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