PostgreSQL Source Code git master
|
#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 |
Definition at line 57 of file walreceiver.h.
char WalRcvData::conninfo[MAXCONNINFO] |
Definition at line 123 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), and WalReceiverMain().
XLogRecPtr WalRcvData::flushedUpto |
Definition at line 96 of file walreceiver.h.
Referenced by GetReplicationApplyDelay(), GetWalRcvFlushRecPtr(), pg_stat_get_wal_receiver(), RequestXLogStreaming(), and XLogWalRcvFlush().
sig_atomic_t WalRcvData::force_reply |
Definition at line 162 of file walreceiver.h.
Referenced by WalRcvForceReply(), and WalReceiverMain().
bool WalRcvData::is_temp_slot |
Definition at line 142 of file walreceiver.h.
Referenced by RequestXLogStreaming(), and WalReceiverMain().
TimestampTz WalRcvData::lastMsgReceiptTime |
Definition at line 111 of file walreceiver.h.
Referenced by GetReplicationTransferLatency(), pg_stat_get_wal_receiver(), ProcessWalSndrMessage(), and WalReceiverMain().
TimestampTz WalRcvData::lastMsgSendTime |
Definition at line 110 of file walreceiver.h.
Referenced by GetReplicationTransferLatency(), pg_stat_get_wal_receiver(), ProcessWalSndrMessage(), and WalReceiverMain().
XLogRecPtr WalRcvData::latestChunkStart |
Definition at line 105 of file walreceiver.h.
Referenced by GetWalRcvFlushRecPtr(), RequestXLogStreaming(), and XLogWalRcvFlush().
XLogRecPtr WalRcvData::latestWalEnd |
Definition at line 116 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), and ProcessWalSndrMessage().
TimestampTz WalRcvData::latestWalEndTime |
Definition at line 117 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), ProcessWalSndrMessage(), and WalReceiverMain().
slock_t WalRcvData::mutex |
Definition at line 147 of file walreceiver.h.
Referenced by GetReplicationApplyDelay(), GetReplicationTransferLatency(), GetWalRcvFlushRecPtr(), pg_stat_get_wal_receiver(), ProcessWalSndrMessage(), RequestXLogStreaming(), ShutdownWalRcv(), WalRcvDie(), WalRcvForceReply(), WalRcvRunning(), WalRcvShmemInit(), WalRcvStreaming(), WalRcvWaitForStartPosition(), WalReceiverMain(), and XLogWalRcvFlush().
pid_t WalRcvData::pid |
Definition at line 68 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), ShutdownWalRcv(), WalRcvDie(), and WalReceiverMain().
ProcNumber WalRcvData::procno |
Definition at line 67 of file walreceiver.h.
Referenced by RequestXLogStreaming(), WalRcvDie(), WalRcvForceReply(), WalRcvShmemInit(), and WalReceiverMain().
bool WalRcvData::ready_to_display |
Definition at line 145 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), WalRcvDie(), and WalReceiverMain().
TimeLineID WalRcvData::receivedTLI |
Definition at line 97 of file walreceiver.h.
Referenced by GetWalRcvFlushRecPtr(), pg_stat_get_wal_receiver(), RequestXLogStreaming(), and XLogWalRcvFlush().
XLogRecPtr WalRcvData::receiveStart |
Definition at line 86 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), WalRcvWaitForStartPosition(), and WalReceiverMain().
TimeLineID WalRcvData::receiveStartTLI |
Definition at line 87 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), WalRcvWaitForStartPosition(), and WalReceiverMain().
char WalRcvData::sender_host[NI_MAXHOST] |
Definition at line 129 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().
int WalRcvData::sender_port |
Definition at line 130 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), and WalReceiverMain().
char WalRcvData::slotname[NAMEDATALEN] |
Definition at line 136 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), and WalReceiverMain().
pg_time_t WalRcvData::startTime |
Definition at line 78 of file walreceiver.h.
Referenced by RequestXLogStreaming(), WalRcvRunning(), and WalRcvStreaming().
WalRcvState WalRcvData::walRcvState |
Definition at line 71 of file walreceiver.h.
Referenced by pg_stat_get_wal_receiver(), RequestXLogStreaming(), ShutdownWalRcv(), WalRcvDie(), WalRcvRunning(), WalRcvShmemInit(), WalRcvStreaming(), WalRcvWaitForStartPosition(), and WalReceiverMain().
ConditionVariable WalRcvData::walRcvStoppedCV |
Definition at line 72 of file walreceiver.h.
Referenced by ShutdownWalRcv(), WalRcvDie(), WalRcvRunning(), WalRcvShmemInit(), WalRcvStreaming(), and WalReceiverMain().
pg_atomic_uint64 WalRcvData::writtenUpto |
Definition at line 155 of file walreceiver.h.
Referenced by GetWalRcvWriteRecPtr(), pg_stat_get_wal_receiver(), WalRcvShmemInit(), WalReceiverMain(), and XLogWalRcvWrite().