Method Sql.pgsql()->status_commit() Method status_commit final string status_commit() Returns The current commitstatus of the connection. Returns either one of: idle intransaction infailedtransaction Note This function is PostgreSQL-specific.