【bugfix】修复hot_standby_feedback关闭后,xmin不推进的问题

This commit is contained in:
li_jianqiu 2022-04-30 01:38:46 +08:00
parent d2e069125e
commit e8b6faf915
1 changed files with 1 additions and 1 deletions

View File

@ -1570,7 +1570,7 @@ static void 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 (u_sess->attr.attr_storage.wal_receiver_status_interval <= 0 || !u_sess->attr.attr_storage.hot_standby_feedback)
if (u_sess->attr.attr_storage.wal_receiver_status_interval <= 0)
return;
/* Get current timestamp. */