Commit 4d82c878 authored by Francois Marier's avatar Francois Marier Committed by Gerrit Code Review

adodb: check for Postgres 8.1

See Eduforge #2318 or LP #547951.

Bug 1384473

(cherry picked from commit 4bdafccb)

Change-Id: I0e38e7f4f4e8da35f6c9f8e728213c2218e9a36f
Signed-off-by: 's avatarFrancois Marier <francois@catalyst.net.nz>
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c0574d39
......@@ -129,11 +129,8 @@ class ADODB_postgres64 extends ADOConnection{
function ServerInfo()
{
if (isset($this->version)) return $this->version;
$arr['description'] = $this->GetOne("select version()");
$arr['version'] = ADOConnection::_findvers($arr['description']);
$this->version = $arr;
return $arr;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment