https://bugzilla.wikimedia.org/show_bug.cgi?id=16937


Tim Starling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #39 from Tim Starling <[email protected]>  2009-05-11 
11:49:04 UTC ---
Proposed fix committed in r50473 and backported for release in MediaWiki 1.15.
Please test it to make sure that your server version is detected correctly by
the installer. Reopen this bug if the issue persists. The fix is to replace
getServerVersion() in DatabasePostgres.php with this:

function getServerVersion() {
  $versionInfo = pg_version( $this->mConn );
  if ( version_compare( $versionInfo['client'], '7.4.0', 'lt' ) ) {
     // Old client, abort install
     $this->numeric_version = '7.3 or earlier';
  } elseif ( isset( $versionInfo['server'] ) ) {
     // Normal client
     $this->numeric_version = $versionInfo['server'];
  } else {
     // Bug 16937: broken pgsql extension from PHP<5.3
     $this->numeric_version = pg_parameter_status( $this->mConn,
'server_version' );
  }
  return $this->numeric_version;
}


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to