PostgreSQL Source Code  git master
WalSndCtlData Struct Reference

#include <walsender_private.h>

Data Fields

dlist_head SyncRepQueue [NUM_SYNC_REP_WAIT_MODE]
 
XLogRecPtr lsn [NUM_SYNC_REP_WAIT_MODE]
 
bool sync_standbys_defined
 
ConditionVariable wal_flush_cv
 
ConditionVariable wal_replay_cv
 
ConditionVariable wal_confirm_rcv_cv
 
WalSnd walsnds [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Definition at line 84 of file walsender_private.h.

Field Documentation

◆ lsn

XLogRecPtr WalSndCtlData::lsn[NUM_SYNC_REP_WAIT_MODE]

Definition at line 96 of file walsender_private.h.

Referenced by SyncRepReleaseWaiters(), and SyncRepWakeQueue().

◆ sync_standbys_defined

bool WalSndCtlData::sync_standbys_defined

Definition at line 103 of file walsender_private.h.

Referenced by SyncRepUpdateSyncStandbysDefined(), and SyncRepWaitForLSN().

◆ SyncRepQueue

dlist_head WalSndCtlData::SyncRepQueue[NUM_SYNC_REP_WAIT_MODE]

Definition at line 90 of file walsender_private.h.

Referenced by SyncRepQueueInsert(), SyncRepWakeQueue(), and WalSndShmemInit().

◆ wal_confirm_rcv_cv

ConditionVariable WalSndCtlData::wal_confirm_rcv_cv

◆ wal_flush_cv

ConditionVariable WalSndCtlData::wal_flush_cv

Definition at line 106 of file walsender_private.h.

Referenced by WalSndShmemInit(), WalSndWait(), and WalSndWakeup().

◆ wal_replay_cv

ConditionVariable WalSndCtlData::wal_replay_cv

Definition at line 107 of file walsender_private.h.

Referenced by WalSndShmemInit(), WalSndWait(), and WalSndWakeup().

◆ walsnds


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