ABORT [ WORK | TRANSACTION ]
A pair of optional noise keywords. They can be ignored, or used to make your SQL more readable.
The following example demonstrates the use of ABORT to undo an accidental DELETE command:
booktown=# BEGIN WORK; BEGIN booktown=# DELETE FROM publishers WHERE id < 100; DELETE 6 booktown=# ABORT WORK; ROLLBACK