Commit ac984f55 authored by Francois Marier's avatar Francois Marier Committed by Cecilia Vela Gurovic

adodb: check for Postgres 8.1

See Eduforge #2318 or LP #547951.

(cherry picked from commit 4bdafccb)

Change-Id: I760074378fe3a447f9e0e819af1afd136df1f8a0
Signed-off-by: Cecilia Vela Gurovic's avatarCecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
parent e7d2d4e3
......@@ -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