PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WalRcvData Struct Reference

#include <walreceiver.h>

Data Fields

ProcNumber procno
 
pid_t pid
 
WalRcvState walRcvState
 
ConditionVariable walRcvStoppedCV
 
pg_time_t startTime
 
XLogRecPtr receiveStart
 
TimeLineID receiveStartTLI
 
XLogRecPtr flushedUpto
 
TimeLineID receivedTLI
 
XLogRecPtr latestChunkStart
 
TimestampTz lastMsgSendTime
 
TimestampTz lastMsgReceiptTime
 
XLogRecPtr latestWalEnd
 
TimestampTz latestWalEndTime
 
char conninfo [MAXCONNINFO]
 
char sender_host [NI_MAXHOST]
 
int sender_port
 
char slotname [NAMEDATALEN]
 
bool is_temp_slot
 
bool ready_to_display
 
slock_t mutex
 
pg_atomic_uint64 writtenUpto
 
sig_atomic_t force_reply
 

Detailed Description

Definition at line 57 of file walreceiver.h.

Field Documentation

◆ conninfo

char WalRcvData::conninfo[MAXCONNINFO]

Definition at line 123 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), and WalReceiverMain().

◆ flushedUpto

◆ force_reply

sig_atomic_t WalRcvData::force_reply

Definition at line 162 of file walreceiver.h.

Referenced by WalRcvForceReply(), and WalReceiverMain().

◆ is_temp_slot

bool WalRcvData::is_temp_slot

Definition at line 142 of file walreceiver.h.

Referenced by RequestXLogStreaming(), and WalReceiverMain().

◆ lastMsgReceiptTime

TimestampTz WalRcvData::lastMsgReceiptTime

◆ lastMsgSendTime

TimestampTz WalRcvData::lastMsgSendTime

◆ latestChunkStart

XLogRecPtr WalRcvData::latestChunkStart

Definition at line 105 of file walreceiver.h.

Referenced by GetWalRcvFlushRecPtr(), RequestXLogStreaming(), and XLogWalRcvFlush().

◆ latestWalEnd

XLogRecPtr WalRcvData::latestWalEnd

Definition at line 116 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and ProcessWalSndrMessage().

◆ latestWalEndTime

TimestampTz WalRcvData::latestWalEndTime

Definition at line 117 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), ProcessWalSndrMessage(), and WalReceiverMain().

◆ mutex

◆ pid

pid_t WalRcvData::pid

Definition at line 68 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), ShutdownWalRcv(), WalRcvDie(), and WalReceiverMain().

◆ procno

ProcNumber WalRcvData::procno

◆ ready_to_display

bool WalRcvData::ready_to_display

Definition at line 145 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), WalRcvDie(), and WalReceiverMain().

◆ receivedTLI

TimeLineID WalRcvData::receivedTLI

◆ receiveStart

XLogRecPtr WalRcvData::receiveStart

◆ receiveStartTLI

TimeLineID WalRcvData::receiveStartTLI

◆ sender_host

char WalRcvData::sender_host[NI_MAXHOST]

Definition at line 129 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().

◆ sender_port

int WalRcvData::sender_port

Definition at line 130 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().

◆ slotname

char WalRcvData::slotname[NAMEDATALEN]

Definition at line 136 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), and WalReceiverMain().

◆ startTime

pg_time_t WalRcvData::startTime

Definition at line 78 of file walreceiver.h.

Referenced by RequestXLogStreaming(), WalRcvRunning(), and WalRcvStreaming().

◆ walRcvState

◆ walRcvStoppedCV

ConditionVariable WalRcvData::walRcvStoppedCV

◆ writtenUpto


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