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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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