File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9826,9 +9826,9 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired)
9826
9826
(errcode (ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE ),
9827
9827
errmsg ("invalid data in file \"%s\"" , BACKUP_LABEL_FILE )));
9828
9828
/*
9829
- * BACKUP METHOD line is new in 9.0. Don 't complain if it doesn't exist,
9830
- * in case you're restoring from a backup taken with an 9.0 beta version
9831
- * that didn't emit it.
9829
+ * BACKUP METHOD line is new in 9.2. We can 't restore from an older backup
9830
+ * anyway, but since the information on it is not strictly required, don't
9831
+ * error out if it's missing for some reason .
9832
9832
*/
9833
9833
if (fscanf (lfp , "BACKUP METHOD: %19s" , backuptype ) == 1 )
9834
9834
{
You can’t perform that action at this time.
0 commit comments