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

Commit5aded20

Browse files
author
Artur Zakirov
committed
More understandable message during an error of ptrack backuping
1 parentfaa97de commit5aded20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎backup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,13 @@ do_backup_database(parray *backup_list, bool smooth_checkpoint)
291291
{
292292
XLogRecPtrptrack_lsn=get_last_ptrack_lsn();
293293
if (ptrack_lsn>prev_backup->stop_lsn)
294+
{
294295
elog(ERROR,"Wrong ptrack lsn:%lx prev:%lx current:%lx",
295296
ptrack_lsn,
296297
prev_backup->start_lsn,
297298
current.start_lsn);
299+
elog(ERROR,"Create new full backup before an incremental one.");
300+
}
298301
parray_qsort(backup_files_list,pgFileComparePathDesc);
299302
make_pagemap_from_ptrack(backup_files_list);
300303
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp