Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2877c67

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 parent3b3f093 commit2877c67

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'tcomplain 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'trestore 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)

[8]ページ先頭

©2009-2025 Movatter.jp