Thread: pgsql: Make the bgwriter's error recovery path do smgrcloseall().

pgsql: Make the bgwriter's error recovery path do smgrcloseall().

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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...

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.32 -> r1.33)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.32&r2=1.33)