Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/Connection.php')
-rw-r--r--src/classes/Connection.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/Connection.php b/src/classes/Connection.php
index c0adc49f..b110f480 100644
--- a/src/classes/Connection.php
+++ b/src/classes/Connection.php
@@ -82,11 +82,11 @@ class Connection
$this->conn = 'pdo' === $this->adodb_driver ?
$this->getPDOConnection($host, $port, $sslmode, $database, $user, $password, $fetchMode) :
$this->getPG9Connection($host, $port, $sslmode, $database, $user, $password, $fetchMode);
-
+ $this->conn->setFetchMode($fetchMode);
//$this->prtrace($this->conn);
}
-
- public function getVersion(): string
+
+ public function getVersion():string
{
return $this->pgVersion;
}
@@ -105,7 +105,7 @@ class Connection
return null;
}
$serverInfo = $this->conn->ServerInfo();
- $this->dump($serverInfo);
+ dump($serverInfo);
$this->pgVersion = $serverInfo['version'];
$description = "PostgreSQL {$this->pgVersion}";