Make the bgwriter's error recovery path do smgrcloseall(). On Windows this
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/bgwriter.c | modified | +8 −1 |