Reputation: 36850
What's PostgreSQL's equivalent of select @@trancount
?
Upvotes: 3
Views: 1719
Reputation: 3363
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
Upvotes: 1