1ABORT(7) PostgreSQL 9.2.24 Documentation ABORT(7)
2
3
4
6 ABORT - abort the current transaction
7
9 ABORT [ WORK | TRANSACTION ]
10
12 ABORT rolls back the current transaction and causes all the updates
13 made by the transaction to be discarded. This command is identical in
14 behavior to the standard SQL command ROLLBACK(7), and is present only
15 for historical reasons.
16
18 WORK, TRANSACTION
19 Optional key words. They have no effect.
20
22 Use COMMIT(7) to successfully terminate a transaction.
23
24 Issuing ABORT when not inside a transaction does no harm, but it will
25 provoke a warning message.
26
28 To abort all changes:
29
30 ABORT;
31
33 This command is a PostgreSQL extension present for historical reasons.
34 ROLLBACK is the equivalent standard SQL command.
35
37 BEGIN(7), COMMIT(7), ROLLBACK(7)
38
39
40
41PostgreSQL 9.2.24 2017-11-06 ABORT(7)