mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Revert "Use "transient" files for blind writes"
This reverts commit 54d9e8c6c1, which
caused a failure on the buildfarm. Not a good thing to have just before
a beta release.
This commit is contained in:
@@ -288,9 +288,6 @@ mdcreate(SMgrRelation reln, ForkNumber forkNum, bool isRedo)
|
||||
|
||||
pfree(path);
|
||||
|
||||
if (reln->smgr_transient)
|
||||
FileSetTransient(fd);
|
||||
|
||||
reln->md_fd[forkNum] = _fdvec_alloc();
|
||||
|
||||
reln->md_fd[forkNum]->mdfd_vfd = fd;
|
||||
@@ -545,9 +542,6 @@ mdopen(SMgrRelation reln, ForkNumber forknum, ExtensionBehavior behavior)
|
||||
|
||||
pfree(path);
|
||||
|
||||
if (reln->smgr_transient)
|
||||
FileSetTransient(fd);
|
||||
|
||||
reln->md_fd[forknum] = mdfd = _fdvec_alloc();
|
||||
|
||||
mdfd->mdfd_vfd = fd;
|
||||
@@ -1562,9 +1556,6 @@ _mdfd_openseg(SMgrRelation reln, ForkNumber forknum, BlockNumber segno,
|
||||
if (fd < 0)
|
||||
return NULL;
|
||||
|
||||
if (reln->smgr_transient)
|
||||
FileSetTransient(fd);
|
||||
|
||||
/* allocate an mdfdvec entry for it */
|
||||
v = _fdvec_alloc();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user