2 ms·
Nested transactions can easily be done at the app layer, with a counter. As long as any rollback rolls back all outer layers.
by EGreg 6y ago
Nested transactions can easily be done at the app layer, with a counter. As long as any rollback rolls back all outer layers.
- knz42 6y agoAuthor 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.