Commit c81a1e1c authored by Francois Marier's avatar Francois Marier Committed by Robert Lyon

adodb: check for Postgres 8.1

See Eduforge #2318 or LP #547951.

Bug 1539346

(cherry picked from commit 4bdafccb)

Change-Id: I6dd4bdd484528a09b336efa241f0464136f5f7a0
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent b79c042f
......@@ -7,5 +7,6 @@ Version: 5.20.5
Modifications:
- RecordSet_postgres7->MoveNext() - remove expensive is_array() (04ef8a3b9770f93326a2ece31e4089368117faca)
- check for Postgres 8.1 (c6dfccadfae432147fff99fa15b0985dcae7e503)
- Deleted many files we're not using, including tests, docs, other drivers, other error langs
......@@ -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