We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04abab commit ad76687Copy full SHA for ad76687
kvstorage-pgsql.inc
@@ -38,6 +38,7 @@ class KVStoragePgsql
38
39
public function version(){
40
if (!$this->available) return '-.-.-';
41
+ if (PHP_VERSION<'5.0') return '-.-.-';
42
$v=pg_version($this->conn);
43
if($v) return $v['server'];
44
}
pgsql.inc
@@ -36,6 +36,7 @@ function get_pgsql_version()
36
{
37
$c = get_pgsql_conn();
if ($c){
+ if (PHP_VERSION<'5.0')return '-.-.-';
$info = pg_version($c);
// print_r($info);
if (isset($info["server"]))
0 commit comments