summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre/postgre_driver.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-04-03 19:16:32 +0200
committerTimothy Warren <tim@timshomepage.net>2012-04-03 19:16:32 +0200
commite351863c3e7f99ae4cc881bfc5d72d6f76cf3de0 (patch)
tree16b0cc2248338a0dd808771d5f73d6cd3112d28f /system/database/drivers/postgre/postgre_driver.php
parent78f55772adb86b48d0d50572545c24c18f528ff9 (diff)
Fix Posgres driver connection string. Current version has incorrect "username" parameter, which should be "user"
Diffstat (limited to 'system/database/drivers/postgre/postgre_driver.php')
-rw-r--r--system/database/drivers/postgre/postgre_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index a033d74f3..5694691a3 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -89,7 +89,7 @@ class CI_DB_postgre_driver extends CI_DB {
if ($this->username !== '')
{
- $this->dsn .= 'username='.$this->username.' ';
+ $this->dsn .= ' user='.$this->username.' ';
/* An empty password is valid!
*