]> granicus.if.org Git - postgresql/commit
Comment out FileUnlink of excess segments during mdtruncate().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 1999 20:00:15 +0000 (20:00 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 1999 20:00:15 +0000 (20:00 +0000)
commit60c3ccffbe9c8abf6ea88f193e1f76288dc60540
tree12a5fcb62d019ee3dc54540f25a8d108b6cf2d5f
parent958e45a84b02691017deaade46854bf90083d0a4
Comment out FileUnlink of excess segments during mdtruncate().
This is unsafe in 6.5 because other backends may be able to access the file
before noticing the shared cache inval message that tells 'em to re-open
the file.  We have fixed this for 6.6 but the changes seem too risky to
back-patch for 6.5.2.
Also, back-patch Tatsuo's change to prevent creation of files during
mdopen().
src/backend/storage/smgr/md.c