hot_standby_feedback_bug_v1.patch

application/octet-stream

Filename: hot_standby_feedback_bug_v1.patch
Type: application/octet-stream
Part: 0
Message: Bug of the hot standby feedback

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
Series: patch v1
File+
src/backend/replication/walreceiver.c 1 0
*** a/src/backend/replication/walreceiver.c
--- b/src/backend/replication/walreceiver.c
***************
*** 651,657 **** XLogWalRcvSendHSFeedback(void)
  	 * If the user doesn't want status to be reported to the master, be sure
  	 * to exit before doing anything at all.
  	 */
! 	if (!hot_standby_feedback)
  		return;
  
  	/* Get current timestamp. */
--- 651,657 ----
  	 * If the user doesn't want status to be reported to the master, be sure
  	 * to exit before doing anything at all.
  	 */
! 	if (wal_receiver_status_interval <= 0 || !hot_standby_feedback)
  		return;
  
  	/* Get current timestamp. */