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