Various Postgres fixes (bug 26612 stuff)
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 23 Feb 2011 16:01:22 +0000 (16:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 23 Feb 2011 16:01:22 +0000 (16:01 +0000)
commit62679f963e76dc1eb4fa749df356ef87d9c42c53
tree62d119213b408aa2202830390c7d5996432e317d
parentaf5993f1956d5f634008650d61cea2043743d518
Various Postgres fixes (bug 26612 stuff)
* Remove last of $wgDBuser-specific settings like timezone, datestyle and search_path. This is all handled by open() :D
* Only set search_path if the schema exists (rather than just set to some random string), fall back to 'public' otherwise
* Only call setupUser() if we need to _CreateDBAccount, otherwise it returns immediately and confuses you (no functional change)
* Implement selectDB() for Postgres, basically call open() with a new DB name
* Try to fix setupDatabase() for this "user must be owner of relation" error I'm getting when the $wgDBuser exists (have tried with roles granted && no roles granted). I get no errors at all when
includes/db/DatabasePostgres.php
includes/installer/PostgresInstaller.php
includes/installer/PostgresUpdater.php