Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

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, and thus it is not available through the generic SQL-interface.