From 45482bd80f17ed63b26ab2f2430e0b26ed59bae8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 6 Jan 2012 10:31:53 +0100 Subject: [PATCH] Fix: remove the default pgsql database name --- htdocs/core/db/pgsql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/db/pgsql.class.php b/htdocs/core/db/pgsql.class.php index d3a070456d8..5e6ea0cfbee 100644 --- a/htdocs/core/db/pgsql.class.php +++ b/htdocs/core/db/pgsql.class.php @@ -364,7 +364,7 @@ class DoliDBPgsql $name = str_replace(array("\\", "'"), array("\\\\", "\\'"), $name); $port = str_replace(array("\\", "'"), array("\\\\", "\\'"), $port); - if (! $name) $name="postgres"; + //if (! $name) $name="postgres"; // try first Unix domain socket (local) if (! $host || $host == "" || $host == "localhost")