mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-07 13:40:17 +02:00
Use pgFileDelete() within delete_backup_files()
This commit is contained in:
parent
6e0d087eb5
commit
37ae88e9b2
@ -674,7 +674,7 @@ delete_backup_files(pgBackup *backup)
|
|||||||
if (interrupted)
|
if (interrupted)
|
||||||
elog(ERROR, "interrupted during delete backup");
|
elog(ERROR, "interrupted during delete backup");
|
||||||
|
|
||||||
fio_unlink(file->path, FIO_BACKUP_HOST);
|
pgFileDelete(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
parray_walk(files, pgFileFree);
|
parray_walk(files, pgFileFree);
|
||||||
|
Loading…
Reference in New Issue
Block a user