mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
[Issue #101] replace "sparse" with "compact"
This commit is contained in:
+2
-2
@@ -347,7 +347,7 @@ do_retention_internal(parray *backup_list, parray *to_keep_list, parray *to_purg
|
|||||||
backup->parent_backup_link,
|
backup->parent_backup_link,
|
||||||
pgBackupCompareIdDesc))
|
pgBackupCompareIdDesc))
|
||||||
{
|
{
|
||||||
/* make keep list a bit sparse */
|
/* make keep list a bit more compact */
|
||||||
parray_append(to_keep_list, backup);
|
parray_append(to_keep_list, backup);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -445,7 +445,7 @@ do_retention_merge(parray *backup_list, parray *to_keep_list, parray *to_purge_l
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FULL backup in purge list, thanks to sparsing of keep_list current backup is
|
/* FULL backup in purge list, thanks to compacting of keep_list current backup is
|
||||||
* final target for merge, but there could be intermediate incremental
|
* final target for merge, but there could be intermediate incremental
|
||||||
* backups from purge_list.
|
* backups from purge_list.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user