From de912d837e682be049cdde4e011330487a0522e4 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 25 Jun 2026 18:24:00 +0900 Subject: [PATCH] DB IO postgresql: supress warning on connection failure --- src/DB/SQL/PgSQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DB/SQL/PgSQL.php b/src/DB/SQL/PgSQL.php index c05195c..170f943 100644 --- a/src/DB/SQL/PgSQL.php +++ b/src/DB/SQL/PgSQL.php @@ -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; }