postgres.git / summary / log / commit / refs
commit e7b476c657ebe4c0a47fa14b8f1c7ec767067585
Author: Amit Kapila <akapila@postgresql.org>
Date: Sat Jun 27 04:24:51 2020 +0000
First released in: 14.0
Remove duplicate check added by commit b2a5545bd6.
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 e455384b5b0..fd93bcfaeba 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();
}
[parent: 4ae08cd5fd19]