You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-07-17 07:22:20 +02:00
@ -1109,8 +1109,7 @@ do_archive_get(InstanceConfig *instance, const char *prefetch_dir_arg,
|
|||||||
{
|
{
|
||||||
/* discard prefetch */
|
/* discard prefetch */
|
||||||
// n_fetched = 0;
|
// n_fetched = 0;
|
||||||
// pgut_rmtree(prefetch_dir, false, false);
|
pgut_rmtree(prefetch_dir, false, false);
|
||||||
rmtree(prefetch_dir, false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -985,7 +985,7 @@ do_delete_instance(void)
|
|||||||
parray_free(backup_list);
|
parray_free(backup_list);
|
||||||
|
|
||||||
/* Delete all wal files. */
|
/* Delete all wal files. */
|
||||||
rmtree(arclog_path, false);
|
pgut_rmtree(arclog_path, false, true);
|
||||||
|
|
||||||
/* Delete backup instance config file */
|
/* Delete backup instance config file */
|
||||||
join_path_components(instance_config_path, backup_instance_path, BACKUP_CATALOG_CONF_FILE);
|
join_path_components(instance_config_path, backup_instance_path, BACKUP_CATALOG_CONF_FILE);
|
||||||
|
Reference in New Issue
Block a user