What's PostgreSQL's equivalent of select @@trancount?
Postgresql uses savepoints. There are not nested transactions.
And you can name them.
I suggest you to start here: http://www.postgresql.org/docs/9.5/static/sql-savepoint.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With