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:29
Message-ID: 20050625224729.A72E252913@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.

Modified Files:
--------------
pgsql/doc/src/sgml:
backup.sgml (r2.68 -> r2.69)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/backup.sgml.diff?r1=2.68&r2=2.69)
pgsql/src/backend/commands:
dbcommands.c (r1.160 -> r1.161)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.160&r2=1.161)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-06-25 22:47:49 pgsql: Force a checkpoint before committing a CREATE DATABASE command.
Previous Message User Andreas 2005-06-25 22:38:46 tablelog - tablelog: added an intro