From e7b476c657ebe4c0a47fa14b8f1c7ec767067585 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Sat, 27 Jun 2020 09:54:51 +0530 Subject: [PATCH] Remove duplicate check added by commit b2a5545bd6. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As this doesn't cause any harm so we decided to this clean up in HEAD only. Author: Ádám Balogh Discussion: https://postgr.es/m/VI1PR0702MB36631BD67559461AFDE1FEEE81920@VI1PR0702MB3663.eurprd07.prod.outlook.com --- src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index e455384b5b..fd93bcfaeb 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7377,7 +7377,7 @@ StartupXLOG(void) * Wake up any walsenders to notice that we are on a new * timeline. */ - if (switchedTLI && AllowCascadeReplication()) + if (AllowCascadeReplication()) WalSndWakeup(); }