We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent5fa64b9 commitfe5dd35Copy full SHA for fe5dd35
src/restore.c
@@ -831,12 +831,13 @@ restore_chain(pgBackup *dest_backup, parray *parent_chain,
831
/* if file does not exists in destination list, then we can safely unlink it */
832
if (parray_bsearch(dest_backup->files,file,pgFileCompareRelPathWithExternal)==NULL)
833
{
834
-charfull_file_path[MAXPGPATH];
+charfullpath[MAXPGPATH];
835
836
-join_path_components(full_file_path,pgdata_path,file->rel_path);
+join_path_components(fullpath,pgdata_path,file->rel_path);
837
838
-fio_pgFileDelete(file,full_file_path);
839
-elog(VERBOSE,"Deleted file \"%s\"",full_file_path);
+//fio_pgFileDelete(file, full_file_path);
+pgFileDelete(file,fullpath);
840
+elog(VERBOSE,"Deleted file \"%s\"",fullpath);
841
842
/* shrink pgdata list */
843
parray_remove(pgdata_files,i);