We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b96de commit 98c6719Copy full SHA for 98c6719
src/delete.c
@@ -296,15 +296,7 @@ delete_backup_files(pgBackup *backup)
296
elog(INFO, "Progress: (%zd/%zd). Process file \"%s\"",
297
i + 1, num_files, file->path);
298
299
- if (remove(file->path))
300
- {
301
- if (errno == ENOENT)
302
- elog(VERBOSE, "File \"%s\" is absent", file->path);
303
- else
304
- elog(ERROR, "Cannot remove \"%s\": %s", file->path,
305
- strerror(errno));
306
- return;
307
- }
+ pgFileDelete(file);
308
}
309
310
parray_walk(files, pgFileFree);
0 commit comments