postgresql_16:7.1.167.1 Description
PostgreSQL 16 > Reference > SQL Commands > ROLLBACK TO SAVEPOINT > Description
Roll back all commands that were executed after the savepoint was established and then start a new subtransaction at the same transaction level. The savepoint remains valid and can be rolled back to again later, if needed.
ROLLBACK TO SAVEPOINT implicitly destroys all savepoints that were established after the named savepoint.