Make the bgwriter's error recovery path do smgrcloseall(). On Windows this

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3049fe7cfa994208cb15cf0c9a20e773839ebf8f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-12-01T19:55:28Z
Releases: 8.2.0
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...

Files

PathChange+/−
src/backend/postmaster/bgwriter.c modified +8 −1