From: Greg Sabino Mullane Date: Mon, 21 Mar 2011 21:59:04 +0000 (+0000) Subject: template1 is a poor choice: use the standard 'postgres' database instead. X-Git-Tag: 1.31.0-rc.0~31263 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=e19a2ac3e1f647bd602d294d4fce354aaeca7c79;p=lhc%2Fweb%2Fwiklou.git template1 is a poor choice: use the standard 'postgres' database instead. Especially as the installer currently is modifying this database! (a separate bug...) --- diff --git a/includes/installer/PostgresInstaller.php b/includes/installer/PostgresInstaller.php index 1a3a420f7d..0b140a5faa 100644 --- a/includes/installer/PostgresInstaller.php +++ b/includes/installer/PostgresInstaller.php @@ -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' ),