PostgreSQL Source Code git master
Data Fields
WalSnd Struct Reference

#include <walsender_private.h>

Data Fields

pid_t  pid
 
 
 
bool  needreload
 
 
 
 
 
 
 
 
slock_t  mutex
 
 
 

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.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), ProcessStandbyReplyMessage(), and SyncRepGetCandidateStandbys().

applyLag

TimeOffset WalSnd::applyLag

Definition at line 62 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), and ProcessStandbyReplyMessage().

flush

XLogRecPtr WalSnd::flush

Definition at line 56 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), ProcessStandbyReplyMessage(), SyncRepGetCandidateStandbys(), SyncRepReleaseWaiters(), WalSndDone(), and WalSndWaitForWal().

flushLag

TimeOffset WalSnd::flushLag

Definition at line 61 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), and ProcessStandbyReplyMessage().

kind

ReplicationKind WalSnd::kind

Definition at line 78 of file walsender_private.h.

Referenced by InitWalSenderSlot(), and WalSndWait().

mutex

slock_t WalSnd::mutex

Definition at line 71 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), ProcessStandbyHSFeedbackMessage(), ProcessStandbyPSRequestMessage(), ProcessStandbyReplyMessage(), StartLogicalReplication(), StartReplication(), SyncRepGetCandidateStandbys(), SyncRepInitConfig(), WalSndInitStopping(), WalSndKill(), WalSndRqstFileReload(), WalSndSetState(), WalSndShmemInit(), WalSndWaitStopping(), XLogSendLogical(), and XLogSendPhysical().

needreload

bool WalSnd::needreload

Definition at line 47 of file walsender_private.h.

Referenced by InitWalSenderSlot(), WalSndRqstFileReload(), and XLogSendPhysical().

pid

pid_t WalSnd::pid

Definition at line 43 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), SyncRepGetCandidateStandbys(), WalSndInitStopping(), WalSndKill(), WalSndRqstFileReload(), and WalSndWaitStopping().

replyTime

TimestampTz WalSnd::replyTime

Definition at line 76 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), ProcessStandbyHSFeedbackMessage(), ProcessStandbyPSRequestMessage(), and ProcessStandbyReplyMessage().

sentPtr

XLogRecPtr WalSnd::sentPtr

Definition at line 46 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), StartLogicalReplication(), StartReplication(), XLogSendLogical(), and XLogSendPhysical().

state

WalSndState WalSnd::state

Definition at line 45 of file walsender_private.h.

Referenced by exec_replication_command(), InitWalSenderSlot(), pg_stat_get_wal_senders(), SyncRepGetCandidateStandbys(), SyncRepReleaseWaiters(), WalSndLoop(), WalSndSetState(), and WalSndWaitStopping().

sync_standby_priority

int WalSnd::sync_standby_priority

Definition at line 68 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), SyncRepGetCandidateStandbys(), SyncRepInitConfig(), and SyncRepReleaseWaiters().

write

XLogRecPtr WalSnd::write

Definition at line 55 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), ProcessStandbyReplyMessage(), SyncRepGetCandidateStandbys(), WalSndDone(), and WalSndWaitForWal().

writeLag

TimeOffset WalSnd::writeLag

Definition at line 60 of file walsender_private.h.

Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), and ProcessStandbyReplyMessage().


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

AltStyle によって変換されたページ (->オリジナル) /