diff options
author | Amit Kapila <akapila@postgresql.org> | 2020-06-27 09:54:51 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2020-06-27 09:59:27 +0530 |
commit | e7b476c657ebe4c0a47fa14b8f1c7ec767067585 (patch) | |
tree | 8b4ce4757aa95e777c0cb7be137cb469bdbbbfe3 /src/backend/access/transam/xlog.c | |
parent | 4ae08cd5fd19d566538005c15e7bf992ebae4c72 (diff) | |
download | postgresql-e7b476c657ebe4c0a47fa14b8f1c7ec767067585.tar.gz postgresql-e7b476c657ebe4c0a47fa14b8f1c7ec767067585.zip |
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
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |