1
0
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:
Grigory Smolkin 2020-05-23 04:25:19 +03:00
parent d4a8384cfa
commit d67cb67243

View File

@ -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.
*/