Force a checkpoint before committing a CREATE DATABASE command. This

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

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