Force a checkpoint before committing a CREATE DATABASE command. This

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 894889ecc43a1503c48f88f9da21cc53b5b29f3f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-06-25T22:47:49Z
Releases: 8.0.4
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.

Files

PathChange+/−
doc/src/sgml/backup.sgml modified +13 −1
src/backend/commands/dbcommands.c modified +31 −1