projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1dab27
)
Apply local connections on different ports patch to persistent connections
author
mr-russ
<mr-russ>
Wed, 9 Feb 2005 08:27:57 +0000
(08:27 +0000)
committer
mr-russ
<mr-russ>
Wed, 9 Feb 2005 08:27:57 +0000
(08:27 +0000)
as well as to non-persistent.
libraries/adodb/drivers/adodb-postgres64.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/libraries/adodb/drivers/adodb-postgres64.inc.php
b/libraries/adodb/drivers/adodb-postgres64.inc.php
index 0396fc7e3d27d7b116fe3f5f56ee343ff211a12e..a252f7a9ba305e94306690d771e9066b49cc46f0 100644
(file)
--- a/
libraries/adodb/drivers/adodb-postgres64.inc.php
+++ b/
libraries/adodb/drivers/adodb-postgres64.inc.php
@@
-418,7
+418,7
@@
a different OID if a database must be reloaded. */
if ($str) {
$host = split(":", $str);
if ($host[0]) $str = "host='" . addslashes($host[0]) . "'";
- else $str = '
localhost
';
+ else $str = '';
if (isset($host[1])) $str .= " port='" . addslashes($host[1]) . "'";
}
if ($user) $str .= " user='" . addslashes($user) . "'";