Commit c6dfccad authored by Francois Marier's avatar Francois Marier
Browse files

adodb: check for Postgres 8.1

See Eduforge #2318 or LP #547951.

(cherry picked from commit 4bdafccb

)
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 04ef8a3b
......@@ -124,11 +124,8 @@ WHERE relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s'))
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