Make the bgwriter's error recovery path do smgrcloseall(). On Windows this
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Dec 2006 19:55:28 +0000 (19:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Dec 2006 19:55:28 +0000 (19:55 +0000)
commit22d2abf101247e4743b907f4d05c58e0c5d4f198
treea0d8a69051097609baa8f4c24e0756f2745adb36
parent6aaebafbf7b926a6df9dcc437f1b74b2c796036e
Make the bgwriter's error recovery path do smgrcloseall().  On Windows this
should allow delete-pending files to actually go away, and thereby work
around the various complaints we've seen about 'permission denied'
errors in such cases.  Should be reasonably harmless in any case...
src/backend/postmaster/bgwriter.c