#include "access/xlog.h"
#include "lib/ilist.h"
#include "nodes/nodes.h"
#include "nodes/replnodes.h"
#include "replication/syncrep.h"
#include "storage/condition_variable.h"
#include "storage/shmem.h"
#include "storage/spin.h"
Go to the source code of this file.
Definition at line 132 of file walsender_private.h.
Definition at line 125 of file walsender_private.h.
Definition at line 144 of file walsender_private.h.
Enumerator | |
---|---|
WALSNDSTATE_STARTUP | |
WALSNDSTATE_BACKUP | |
WALSNDSTATE_CATCHUP | |
WALSNDSTATE_STREAMING | |
WALSNDSTATE_STOPPING |
Definition at line 24 of file walsender_private.h.
Definition at line 284 of file repl_scanner.l.
References pfree(), and yyextra.
Referenced by exec_replication_command().
Definition at line 268 of file repl_scanner.l.
References elog, ERROR, palloc0_object, and str.
Referenced by exec_replication_command().
Definition at line 299 of file repl_scanner.l.
References replication_yylex(), and yyextra.
Referenced by exec_replication_command().
Definition at line 260 of file repl_scanner.l.
References ereport, errcode(), errmsg_internal(), and ERROR.
Referenced by replication_scanner_is_replication_command().
Referenced by exec_replication_command().
Definition at line 3922 of file walsender.c.
References am_walsender, Assert(), WalSnd::mutex, MyWalSnd, SpinLockAcquire, SpinLockRelease, and WalSnd::state.
Referenced by exec_replication_command(), SendBaseBackup(), StartLogicalReplication(), StartReplication(), WalSndErrorCleanup(), WalSndLoop(), and XLogSendPhysical().
Definition at line 120 of file walsender.c.
Referenced by exec_replication_command(), InitWalSenderSlot(), ProcessStandbyHSFeedbackMessage(), ProcessStandbyPSRequestMessage(), ProcessStandbyReplyMessage(), StartLogicalReplication(), StartReplication(), SyncRepGetCandidateStandbys(), SyncRepInitConfig(), SyncRepReleaseWaiters(), WalSndDone(), WalSndKill(), WalSndLoop(), WalSndSetState(), WalSndWait(), WalSndWaitForWal(), XLogSendLogical(), and XLogSendPhysical().
Definition at line 117 of file walsender.c.
Referenced by InitWalSenderSlot(), pg_stat_get_wal_senders(), PhysicalWakeupLogicalWalSnd(), SyncRepGetCandidateStandbys(), SyncRepQueueInsert(), SyncRepReleaseWaiters(), SyncRepUpdateSyncStandbysDefined(), SyncRepWaitForLSN(), SyncRepWakeQueue(), WaitForStandbyConfirmation(), WalSndInitStopping(), WalSndRqstFileReload(), WalSndShmemInit(), WalSndUpdateProgress(), WalSndWait(), WalSndWaitStopping(), and WalSndWakeup().