aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/walreceiverfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/replication/walreceiverfuncs.c')
-rw-r--r--src/backend/replication/walreceiverfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/replication/walreceiverfuncs.c b/src/backend/replication/walreceiverfuncs.c
index 29c2f806e0b..5bce1c34a1b 100644
--- a/src/backend/replication/walreceiverfuncs.c
+++ b/src/backend/replication/walreceiverfuncs.c
@@ -24,6 +24,7 @@
#include <signal.h>
#include "access/xlog_internal.h"
+#include "postmaster/startup.h"
#include "replication/walreceiver.h"
#include "storage/pmsignal.h"
#include "storage/shmem.h"
@@ -110,6 +111,7 @@ WalRcvInProgress(void)
/*
* Stop walreceiver (if running) and wait for it to die.
+ * Executed by the Startup process.
*/
void
ShutdownWalRcv(void)