Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during
authorTom Lane <[email protected]>
Sat, 27 Jan 2007 20:15:55 +0000 (20:15 +0000)
committerTom Lane <[email protected]>
Sat, 27 Jan 2007 20:15:55 +0000 (20:15 +0000)
commitd31fc084999555fbc77147e1fe61f8dd699c919d
tree35d610228d9f450c439f426a81b330620a4554e7
parente35ea6dd70c7c9e650fdf9085baf7b6a58e8de4e
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