Emultate PostgrSQL's strictness about using broken transactions on other databases.