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 @@ -7375,11 +7375,11 @@ StartupXLOG(void) /* * Wake up any walsenders to notice that we are on a new * timeline. */ - if (switchedTLI && AllowCascadeReplication()) + if (AllowCascadeReplication()) WalSndWakeup(); } /* Exit loop if we reached inclusive recovery target */ if (recoveryStopsAfter(xlogreader))