]> granicus.if.org Git - postgresql/commit
Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Jan 2007 20:15:47 +0000 (20:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Jan 2007 20:15:47 +0000 (20:15 +0000)
commitcb476c1ec35590e5915ebf44ab2b3410cb844585
treee66669c09290e787f20e3bb11d80e7330359d965
parent043fcd661611979d10292108eda5057878b01154
Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during
DROP TABLE and DROP DATABASE.  Should prevent unexpected "permission denied"
failures on Windows, and is cleaner on other platforms too since we no longer
have to take it on faith that ENOENT is okay during an fsync attempt.

Patched as far back as 8.1; per recent discussion I think we are not going
to worry about Windows-specific issues in 8.0 anymore.
src/backend/commands/dbcommands.c
src/backend/postmaster/bgwriter.c
src/backend/storage/smgr/md.c
src/include/storage/smgr.h