[Issue #101] replace "sparse" with "compact"

This commit is contained in:
Grigory Smolkin
2019-07-23 21:52:50 +03:00
parent db73f84057
commit c0d3ab5456
+2 -2
View File
@@ -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.
*/ */