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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make the bgwriter's error recovery path do smgrcloseall().
Date: 2006-12-01 19:55:29
Message-ID: 20061201195529.0C3799FA12B@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-12-01 20:49:54 pgsql: Document the recently-understood hazard that a rollback can
Previous Message Tom Lane 2006-12-01 03:29:15 pgsql: Editorial improvements to backup and warm-standby documentation.