This commit is contained in:
2021-04-06 20:31:52 +02:00
parent b3bded2332
commit 186083a315
4 changed files with 31 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class PostgreSQL extends SQL {
}
}
$this->connection = @pg_connect(implode(" ", $connectionString));
$this->connection = @pg_connect(implode(" ", $connectionString), PGSQL_CONNECT_FORCE_NEW);
if (!$this->connection) {
$this->lastError = "Failed to connect to Database";
$this->connection = NULL;