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

pgsql: Force a checkpoint before committing a CREATE DATABASE command.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Force a checkpoint before committing a CREATE DATABASE command.
Date: 2005-06-25 22:47:49
Message-ID: 20050625224749.D2DA452923@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Force a checkpoint before committing a CREATE DATABASE command.  This
should fix the recent reports of "index is not a btree" failures,
as well as preventing a more obscure race condition involving changes
to a template database just after copying it with CREATE DATABASE.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/doc/src/sgml:
        backup.sgml (r2.54.4.5 -> r2.54.4.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/backup.sgml.diff?r1=2.54.4.5&r2=2.54.4.6)
    pgsql/src/backend/commands:
        dbcommands.c (r1.148.4.2 -> r1.148.4.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.148.4.2&r2=1.148.4.3)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-06-25 23:04:07
Subject: pgsql: Remove forced CHECKPOINT in regression tests --- redundant now
Previous:From: Tom LaneDate: 2005-06-25 22:47:29
Subject: pgsql: Force a checkpoint before committing a CREATE DATABASE command.

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