Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nested transactions can easily be done at the app layer, with a counter. As long as any rollback rolls back all outer layers.


Author here - yes there are schemes to do it client-side. However there is enough legacy code and frameworks out there that use nested transactions via pg's savepoint protocol, that some compatibility with those is warranted.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: