Skip to content

Commit d67cb67

Browse files
committed
[Issue #201] do not employ page bitmap when restoring a single full backup
1 parent d4a8384 commit d67cb67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/restore.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,10 @@ restore_chain(pgBackup *dest_backup, parray *parent_chain,
569569
if (parse_program_version(dest_backup->program_version) < 20300)
570570
use_bitmap = false;
571571

572+
/* There is no point in bitmap restore, when restoring a single FULL backup */
573+
if (parray_num(parent_chain) == 1)
574+
use_bitmap = false;
575+
572576
/*
573577
* Restore dest_backup internal directories.
574578
*/

0 commit comments

Comments
 (0)