Added wrappers for pgsql:with_transaction/2.