diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-19 19:24:12 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-19 19:24:12 -0700 |
commit | 3726b546d5e24b2f8ffa3d02346c7a0905d3ca65 (patch) | |
tree | 9b4a76c830c81ab3d2c9c99455500d86202ed556 /include/dba/dba_postgres.php | |
parent | 2702b82bc318bde595e4afddb87e4bff300f2dd2 (diff) | |
download | volse-hubzilla-3726b546d5e24b2f8ffa3d02346c7a0905d3ca65.tar.gz volse-hubzilla-3726b546d5e24b2f8ffa3d02346c7a0905d3ca65.tar.bz2 volse-hubzilla-3726b546d5e24b2f8ffa3d02346c7a0905d3ca65.zip |
use pdo for postgres also
Diffstat (limited to 'include/dba/dba_postgres.php')
-rw-r--r-- | include/dba/dba_postgres.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_postgres.php b/include/dba/dba_postgres.php index ae3e5a76f..560d8da60 100644 --- a/include/dba/dba_postgres.php +++ b/include/dba/dba_postgres.php @@ -9,7 +9,7 @@ class dba_postgres extends dba_driver { const UTC_NOW = "now() at time zone 'UTC'"; const TQUOT = '"'; - function connect($server,$port,$user,$pass,$db) { + function connect($server,$scheme,$port,$user,$pass,$db) { if(!$port) $port = 5432; $connstr = 'host=' . $server . ' port='.$port . ' user=' . $user . ' password=' . $pass . ' dbname='. $db; $this->db = pg_connect($connstr); |