PostgreSQL Source Code  git master
WalRcvData Struct Reference

#include <walreceiver.h>

Data Fields

pid_t pid
 
WalRcvState walRcvState
 
pg_time_t startTime
 
XLogRecPtr receiveStart
 
TimeLineID receiveStartTLI
 
XLogRecPtr receivedUpto
 
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 ready_to_display
 
Latchlatch
 
slock_t mutex
 
sig_atomic_t force_reply
 

Detailed Description

Definition at line 55 of file walreceiver.h.

Field Documentation

◆ conninfo

char WalRcvData::conninfo[MAXCONNINFO]

Definition at line 109 of file walreceiver.h.

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

◆ force_reply

sig_atomic_t WalRcvData::force_reply

Definition at line 143 of file walreceiver.h.

Referenced by WalRcvForceReply(), and WalReceiverMain().

◆ lastMsgReceiptTime

TimestampTz WalRcvData::lastMsgReceiptTime

◆ lastMsgSendTime

TimestampTz WalRcvData::lastMsgSendTime

◆ latch

◆ latestChunkStart

XLogRecPtr WalRcvData::latestChunkStart

Definition at line 91 of file walreceiver.h.

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

◆ latestWalEnd

XLogRecPtr WalRcvData::latestWalEnd

Definition at line 102 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and ProcessWalSndrMessage().

◆ latestWalEndTime

TimestampTz WalRcvData::latestWalEndTime

Definition at line 103 of file walreceiver.h.

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

◆ mutex

◆ pid

pid_t WalRcvData::pid

Definition at line 62 of file walreceiver.h.

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

◆ ready_to_display

bool WalRcvData::ready_to_display

Definition at line 125 of file walreceiver.h.

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

◆ receivedTLI

TimeLineID WalRcvData::receivedTLI

◆ receivedUpto

◆ receiveStart

XLogRecPtr WalRcvData::receiveStart

◆ receiveStartTLI

TimeLineID WalRcvData::receiveStartTLI

◆ sender_host

char WalRcvData::sender_host[NI_MAXHOST]

Definition at line 115 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().

◆ sender_port

int WalRcvData::sender_port

Definition at line 116 of file walreceiver.h.

Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().

◆ slotname

char WalRcvData::slotname[NAMEDATALEN]

Definition at line 122 of file walreceiver.h.

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

◆ startTime

pg_time_t WalRcvData::startTime

Definition at line 64 of file walreceiver.h.

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

◆ walRcvState


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