You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/backend/access/transam/xlog.c
+6-1
Original file line number
Diff line number
Diff line change
@@ -6616,7 +6616,12 @@ StartupXLOG(void)
6616
6616
if (reachedStopPoint) /* stopped because of stop request */
6617
6617
ereport(FATAL,
6618
6618
(errmsg("requested recovery stop point is before consistent recovery point")));
6619
-
else/* ran off end of WAL */
6619
+
/* ran off end of WAL */
6620
+
if (!XLogRecPtrIsInvalid(ControlFile->backupStartPoint))
6621
+
ereport(FATAL,
6622
+
(errmsg("WAL ends before end of online backup"),
6623
+
errhint("Online backup started with pg_start_backup() must be ended with pg_stop_backup(), and all WAL up to that point must be available at recovery.")));
6624
+
else
6620
6625
ereport(FATAL,
6621
6626
(errmsg("WAL ends before consistent recovery point")));
0 commit comments