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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync
Date
Msg-id 20070127201547.71F5C9FB2C6@postgresql.org
Whole thread Raw
List 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_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.187 -> r1.187.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.187&r2=1.187.2.1)
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.33 -> r1.33.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.33&r2=1.33.2.1)
    pgsql/src/backend/storage/smgr:
        md.c (r1.123 -> r1.123.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/md.c.diff?r1=1.123&r2=1.123.2.1)
    pgsql/src/include/storage:
        smgr.h (r1.55 -> r1.55.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/smgr.h.diff?r1=1.55&r2=1.55.2.1)

pgsql-committers by date:

Previous
From: meskes@postgresql.org (Michael Meskes)
Date:
Subject: pgsql: Fixed expected files, so they are in sync with tests again.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync