diff --git a/src/backend/storage/file/reinit.c b/src/backend/storage/file/reinit.c new file mode 100644 index 6ffe29a..c87a216 *** a/src/backend/storage/file/reinit.c --- b/src/backend/storage/file/reinit.c *************** ResetUnloggedRelationsInDbspaceDir(const *** 333,338 **** --- 333,339 ---- strlen(forkNames[INIT_FORKNUM])); /* OK, we're ready to perform the actual copy. */ + unlink(dstpath); elog(DEBUG2, "copying %s to %s", srcpath, dstpath); copy_file(srcpath, dstpath); }