ROLLBACK [ WORK | TRANSACTION ]
None.
Message returned if successful.
If there is not any transaction currently in progress.
ROLLBACK rolls back the current transaction and causes all the updates made by the transaction to be discarded.
The keywords WORK and TRANSACTION are noise and can be omitted.
Use COMMIT to successfully terminate a transaction.
To abort all changes:
ROLLBACK WORK;
Full compatibility. The TRANSACTION keyword is a Postgres extension.