only run multiple transactions for pg and mysql