Merge pull request !113 from meimeidtt/zhc
This commit is contained in:
opengauss-bot
2020-08-22 09:18:16 +08:00
committed by Gitee

View File

@ -10365,7 +10365,7 @@ void CreateCheckPoint(int flags)
LogStandbySnapshot();
}
#else
if (XLogStandbyInfoActive()) {
if (XLogStandbyInfoActive() && !RecoveryInProgress()) {
LogStandbySnapshot();
}
#endif