Skip site navigation (1) Skip section navigation (2)

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:47
Message-ID: 20070127201547.71F5C9FB2C6@postgresql.org (view raw or flat)
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_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

Next:From: Tom LaneDate: 2007-01-27 20:15:55
Subject: pgsql: Back-port changes of Jan 16 and 17 to "revoke" pending fsync
Previous:From: Michael MeskesDate: 2007-01-27 18:33:22
Subject: pgsql: Fixed expected files, so they are in sync with tests again.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group