diff --git a/dibi/drivers/postgre.php b/dibi/drivers/postgre.php index c0345b8..6d5eb22 100644 --- a/dibi/drivers/postgre.php +++ b/dibi/drivers/postgre.php @@ -74,6 +74,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver $string = $config['string']; } else { $string = ''; + DibiConnection::alias($config, 'user', 'username'); foreach (array('host','hostaddr','port','dbname','user','password','connect_timeout','options','sslmode','service') as $key) { if (isset($config[$key])) $string .= $key . '=' . $config[$key] . ' '; }