DB IO PgSQL supress warnings if we cannot connect

This commit is contained in:
2026-06-25 18:22:13 +09:00
parent 7bc7674021
commit 0c6ad32b11
+1 -1
View File
@@ -536,7 +536,7 @@ class PgSQL implements Interface\SqlFunctions
$connection_string[] = 'sslmode=' . $db_ssl;
}
// connect
$this->dbh = pg_connect(join(' ', $connection_string));
$this->dbh = @pg_connect(join(' ', $connection_string));
return $this->dbh;
}