From 37ae88e9b260f6d607876d6d7454bf52c6d76557 Mon Sep 17 00:00:00 2001 From: Arthur Zakirov Date: Thu, 25 Apr 2019 12:47:01 +0300 Subject: [PATCH] Use pgFileDelete() within delete_backup_files() --- src/delete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/delete.c b/src/delete.c index 4383489c..e406aa08 100644 --- a/src/delete.c +++ b/src/delete.c @@ -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);