Set numeric_version
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Sat, 22 Nov 2008 06:40:46 +0000 (06:40 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Sat, 22 Nov 2008 06:40:46 +0000 (06:40 +0000)
includes/db/DatabasePostgres.php

index eb15747..deb1683 100644 (file)
@@ -205,7 +205,7 @@ class DatabasePostgres extends Database {
                global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, $wgDBts2schema;
 
                print "<li>Checking the version of Postgres...";
-               $version = $this->getServerVersion();
+               $version = $this->numeric_version = $this->getServerVersion();
                $PGMINVER = '8.1';
                if ($version < $PGMINVER) {
                        print "<b>FAILED</b>. Required version is $PGMINVER. You have $version</li>\n";