pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync
Date: 2007-01-27 20:15:55
Message-ID: 20070127201555.C4A4C9FB2CA@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during
DROP TABLE and DROP DATABASE. Should prevent unexpected "permission denied"
failures on Windows, and is cleaner on other platforms too since we no longer
have to take it on faith that ENOENT is okay during an fsync attempt.

Patched as far back as 8.1; per recent discussion I think we are not going
to worry about Windows-specific issues in 8.0 anymore.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.173.2.1 -> r1.173.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.173.2.1&r2=1.173.2.2)
pgsql/src/backend/postmaster:
bgwriter.c (r1.21.2.1 -> r1.21.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.21.2.1&r2=1.21.2.2)
pgsql/src/backend/storage/smgr:
md.c (r1.118.2.1 -> r1.118.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/md.c.diff?r1=1.118.2.1&r2=1.118.2.2)
pgsql/src/include/storage:
smgr.h (r1.53 -> r1.53.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/smgr.h.diff?r1=1.53&r2=1.53.2.1)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-27 20:53:30 pgsql: Correct an old logic error in btree page splitting: when
Previous Message Tom Lane 2007-01-27 20:15:47 pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync