PostgreSQL Source Code git master
Loading...
Searching...
No Matches
WalSnd Struct Reference

#include <walsender_private.h>

Data Fields

pid_t pid
 
WalSndState state
 
XLogRecPtr sentPtr
 
bool needreload
 
XLogRecPtr write
 
XLogRecPtr flush
 
XLogRecPtr apply
 
TimeOffset writeLag
 
TimeOffset flushLag
 
TimeOffset applyLag
 
int sync_standby_priority
 
slock_t mutex
 
TimestampTz replyTime
 
ReplicationKind kind
 

Detailed Description

Definition at line 41 of file walsender_private.h.

Field Documentation

◆ apply

XLogRecPtr WalSnd::apply

Definition at line 57 of file walsender_private.h.

◆ applyLag

TimeOffset WalSnd::applyLag

Definition at line 62 of file walsender_private.h.

◆ flush

XLogRecPtr WalSnd::flush

Definition at line 56 of file walsender_private.h.

Referenced by SyncRepReleaseWaiters(), WalSndDone(), and WalSndWaitForWal().

◆ flushLag

TimeOffset WalSnd::flushLag

Definition at line 61 of file walsender_private.h.

◆ kind

ReplicationKind WalSnd::kind

Definition at line 78 of file walsender_private.h.

Referenced by WalSndWait().

◆ mutex

slock_t WalSnd::mutex

◆ needreload

bool WalSnd::needreload

Definition at line 47 of file walsender_private.h.

◆ pid

pid_t WalSnd::pid

Definition at line 43 of file walsender_private.h.

◆ replyTime

TimestampTz WalSnd::replyTime

Definition at line 76 of file walsender_private.h.

◆ sentPtr

XLogRecPtr WalSnd::sentPtr

Definition at line 46 of file walsender_private.h.

Referenced by StartLogicalReplication(), and StartReplication().

◆ state

WalSndState WalSnd::state

Definition at line 45 of file walsender_private.h.

Referenced by exec_replication_command(), SyncRepReleaseWaiters(), and WalSndLoop().

◆ sync_standby_priority

int WalSnd::sync_standby_priority

Definition at line 68 of file walsender_private.h.

Referenced by SyncRepInitConfig(), and SyncRepReleaseWaiters().

◆ write

XLogRecPtr WalSnd::write

Definition at line 55 of file walsender_private.h.

Referenced by WalSndDone(), and WalSndWaitForWal().

◆ writeLag

TimeOffset WalSnd::writeLag

Definition at line 60 of file walsender_private.h.


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