grncdr/node-any-db — pull request #47 by acroca (2013-10-24 06:23:27+00:00)
Title: Nested transactions for postgres

I need to support nested transactions for postgres.

A `begin` from a transaction will start a savepoint with a random name.
A `rollback` from a nested transaction will rollback to the savepoint.
A `commit` from a nested transaction will release the savepoint.

(This is WIP, but I'm not sure what's the best implementation, feedback/help is welcomed)