diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c index 8bd2ba37dd..ad383dbcaa 100644 --- a/src/backend/replication/walreceiver.c +++ b/src/backend/replication/walreceiver.c @@ -433,6 +433,10 @@ WalReceiverMain(void) for (int i = 0; i < NUM_WALRCV_WAKEUPS; ++i) WalRcvComputeNextWakeup(i, now); + /* Send initial reply/feedback messages. */ + XLogWalRcvSendReply(true, false); + XLogWalRcvSendHSFeedback(true); + /* Loop until end-of-streaming or error */ for (;;) {