This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
ROLLBACK -- abort the current
ROLLBACK [ WORK | TRANSACTION ]
Message returned if successful.
- NOTICE: ROLLBACK: no
transaction in progress
If there is not any transaction currently in
ROLLBACK rolls back the current
transaction and causes all the updates made by the transaction to
Use COMMIT to
successfully terminate a transaction. ABORT is a synonym for ROLLBACK.
To abort all changes:
SQL92 only specifies the
two forms ROLLBACK and ROLLBACK WORK. Otherwise full compatibility.