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

pgsql: On Windows, force a checkpoint just before dropping a database's

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: On Windows, force a checkpoint just before dropping a database's
Date: 2004-10-28 00:39:59
Message-ID: 20041028003959.D14693A4794@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
On Windows, force a checkpoint just before dropping a database's physical
files and directories.  This ensures that the bgwriter will close any open
file references it is holding for files therein, which is needed for the
rmdir() to succeed.  Andrew Dunstan and Tom Lane.

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.145 -> r1.146)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.145&r2=1.146)
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.9 -> r1.10)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.9&r2=1.10)

pgsql-committers by date

Next:From: Neil ConwayDate: 2004-10-28 01:38:42
Subject: pgsql: Use AllocateFile(), FreeFile() and palloc() rather than fopen(),
Previous:From: Bruce MomjianDate: 2004-10-27 19:44:14
Subject: pgsql: Have pg_ctl status always output to stdout, even stopped status,

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