On Windows, force a checkpoint just before dropping a database's physical
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Oct 2004 00:39:59 +0000 (00:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Oct 2004 00:39:59 +0000 (00:39 +0000)
commite6f9bf9b7fce69d491cefd388a5004448bd38073
tree2d1294d1c3aced63a96465f9b9966e9ff870d8c6
parenta7049b52e3137cfebfb3d73d8779a9094809d52a
On Windows, force a checkpoint just before dropping a database's physical
files and directories.  This ensures that the bgwriter will close any open
file references it is holding for files therein, which is needed for the
rmdir() to succeed.  Andrew Dunstan and Tom Lane.
src/backend/commands/dbcommands.c
src/backend/postmaster/bgwriter.c