string status_command_complete()
Returns the command-complete status for this query.
affected_rows()
This function is PostgreSQL-specific, and thus it is not available through the generic SQL-interface.