ROLLBACK — Abort the current transaction.
ROLLBACK rolls back the current transaction and discards all the updates made by the transaction.
Optional keyword that has no effect.
COMMIT to successfully terminate a transaction.
ROLLBACK when not inside a transaction does no harm.
ROLLBACK in a plpgsql procedure throws an error if there's an Oracle-style SPL procedure on the runtime stack.
Abort all changes: