template1 is a poor choice: use the standard 'postgres' database instead.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Mon, 21 Mar 2011 21:59:04 +0000 (21:59 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Mon, 21 Mar 2011 21:59:04 +0000 (21:59 +0000)
Especially as the installer currently is modifying this database! (a separate bug...)

includes/installer/PostgresInstaller.php

index 1a3a420..0b140a5 100644 (file)
@@ -109,7 +109,7 @@ class PostgresInstaller extends DatabaseInstaller {
                                        $this->getVar( 'wgDBserver' ),
                                        $this->getVar( '_InstallUser' ),
                                        $this->getVar( '_InstallPassword' ),
-                                       'template1' );
+                                       'postgres' );
                        } else {
                                $db = new DatabasePostgres(
                                        $this->getVar( 'wgDBserver' ),