Skip to content

Commit 2877c67

Browse files
committed
Fix bogus comment that claimed that the new BACKUP METHOD line in
backup_label was new in 9.0. Spotted by Fujii Masao.
1 parent 3b3f093 commit 2877c67

File tree

1 file changed

+3
-3
lines changed
  • src/backend/access/transam

1 file changed

+3
-3
lines changed

src/backend/access/transam/xlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9826,9 +9826,9 @@ read_backup_label(XLogRecPtr *checkPointLoc, bool *backupEndRequired)
98269826
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
98279827
errmsg("invalid data in file \"%s\"", BACKUP_LABEL_FILE)));
98289828
/*
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.
98329832
*/
98339833
if (fscanf(lfp, "BACKUP METHOD: %19s", backuptype) == 1)
98349834
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy