DB IO postgresql: supress warning on connection failure

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