2 ms·
> Even though nested transactions are part of the SQL standard, PostgreSQL supports them and many of our users have demanded their inclusion in CockroachDB, we
by kardianos 6y ago
> Even though nested transactions are part of the SQL standard, PostgreSQL supports them and many of our users have demanded their inclusion in CockroachDB, we do not recommend their use in new applications.
I agree with this. People want nested transactions in Go's database/sql, but the abstraction is fundamentally leaky. New applications should not be using nested transactions. Find a different way.