1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-13 01:24:06 +02:00

- added DibiTable magic fetch

- fixed some bugs
This commit is contained in:
David Grudl
2008-10-21 13:42:53 +00:00
parent 3e04378375
commit 1e33b67e37
3 changed files with 54 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
}
DibiDriverException::tryError();
if (isset($config['persistent'])) {
if (empty($config['persistent'])) {
$this->connection = pg_connect($string, PGSQL_CONNECT_FORCE_NEW);
} else {
$this->connection = pg_pconnect($string, PGSQL_CONNECT_FORCE_NEW);