Fix: remove the default pgsql database name

This commit is contained in:
Regis Houssin 2012-01-06 10:31:53 +01:00
parent b9d9f3b5b1
commit 45482bd80f

View File

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