1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-05 13:20:31 +02:00

Use pgFileDelete() within delete_backup_files()

This commit is contained in:
Arthur Zakirov 2019-04-25 12:47:01 +03:00
parent 6e0d087eb5
commit 37ae88e9b2

View File

@ -674,7 +674,7 @@ delete_backup_files(pgBackup *backup)
if (interrupted)
elog(ERROR, "interrupted during delete backup");
fio_unlink(file->path, FIO_BACKUP_HOST);
pgFileDelete(file);
}
parray_walk(files, pgFileFree);