dbPostgreSQLUser, Arsse::$conf->dbPostgreSQLPass, Arsse::$conf->dbPostgreSQLDb, Arsse::$conf->dbPostgreSQLHost, Arsse::$conf->dbPostgreSQLPort, ""); try { $d = new \PDO("pgsql:".$connString, Arsse::$conf->dbPostgreSQLUser, Arsse::$conf->dbPostgreSQLPass, [\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION]); } catch (\Throwable $e) { return; } foreach (\JKingWeb\Arsse\Db\PostgreSQL\PDODriver::makeSetupQueries(Arsse::$conf->dbPostgreSQLSchema) as $q) { $d->exec($q); } return $d; } public static function dbTableList($db): array { return PostgreSQL::dbTableList($db); } public static function dbTruncate($db, array $afterStatements = []): void { PostgreSQL::dbTruncate($db, $afterStatements); } public static function dbRaze($db, array $afterStatements = []): void { PostgreSQL::dbRaze($db, $afterStatements); } }