Force a checkpoint before committing a CREATE DATABASE command. This
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Jun 2005 22:47:49 +0000 (22:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Jun 2005 22:47:49 +0000 (22:47 +0000)
commit7352a30e88361e2b3b83f7bc8032ab8cc27f066b
tree30526a9272b7dafa60b76ffe294b061cc5e475b2
parenta480531ae7ae70f992124f606a398bf3cd9bfd11
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.
doc/src/sgml/backup.sgml
src/backend/commands/dbcommands.c