Method Sql.pgsql()->close() class Sql.pgsql Method close final void close() Description Closes the connection to the database, any running queries are terminated instantly. Note This function is PostgreSQL-specific.