summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-04-03 19:34:02 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-04-03 19:34:02 +0200
commit9af22211f3ce926734fc017e98763665da298eab (patch)
tree00362453d47ade80826117aa7f09a1f230c64a57 /system/database/drivers
parent9a04d6e4539a4eb3dd345f8c1abb527cca98be58 (diff)
parente351863c3e7f99ae4cc881bfc5d72d6f76cf3de0 (diff)
Merge pull request #1240 from timw4mail/patch-1
Fix Posgres driver connection string.
Diffstat (limited to 'system/database/drivers')
-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!
*