mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-07 13:40:17 +02:00
[Issue #201] do not employ page bitmap when restoring a single full backup
This commit is contained in:
parent
d4a8384cfa
commit
d67cb67243
@ -569,6 +569,10 @@ restore_chain(pgBackup *dest_backup, parray *parent_chain,
|
||||
if (parse_program_version(dest_backup->program_version) < 20300)
|
||||
use_bitmap = false;
|
||||
|
||||
/* There is no point in bitmap restore, when restoring a single FULL backup */
|
||||
if (parray_num(parent_chain) == 1)
|
||||
use_bitmap = false;
|
||||
|
||||
/*
|
||||
* Restore dest_backup internal directories.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user