diff --git a/htdocs/core/db/pgsql.class.php b/htdocs/core/db/pgsql.class.php index d3a070456d89c63e6f390b316c9b5635ab285d8b..5e6ea0cfbee377aed655e6552c911ee7b751a63b 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")