We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94dff4 commit 1781744Copy full SHA for 1781744
src/backend/access/transam/xlog.c
@@ -5281,7 +5281,7 @@ StartupXLOG(void)
5281
ereport(LOG,
5282
(errmsg("database system was not properly shut down; "
5283
"automatic recovery in progress")));
5284
- if (recoveryTargetTLI > 0)
+ if (recoveryTargetTLI > ControlFile->checkPointCopy.ThisTimeLineID)
5285
5286
(errmsg("crash recovery starts in timeline %u "
5287
"and has target timeline %u",
0 commit comments