Light
Dark
System
v4latest
v5dev
v4latest
v3
v2
v1

Release savepoint

release savepoint – release a previously declared savepoint

release savepoint savepoint-name ;

release savepoint destroys a savepoint previously defined in the current transaction.

Destroying a savepoint makes it unavailable as a rollback point, but it has no other user visible behavior. It does not undo the effects of commands executed after the savepoint was established. (To do that, see rollback to savepoint.)

release savepoint also destroys all savepoints that were established after the named savepoint was established.

Copy
start transaction;
# ...
declare savepoint f1;
# ...
release savepoint f1;
# ...
rollback;
Light
Dark
System

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.