Commit 07a7e5f9 authored by Francois Marier's avatar Francois Marier Committed by Robert Lyon

Bug 1890213: check for postgres 8.1

adodb: check for Postgres 8.1

See Eduforge #2318 or LP #547951.

(cherry picked from commit 4bdafccb)

Change-Id: Id71602ffb1ec4ab3d777875ebc5c4dc965967e96
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 414fdfeb
......@@ -131,11 +131,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