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")