1COMMIT(7) PostgreSQL 9.2.24 Documentation COMMIT(7)
2
3
4
6 COMMIT - commit the current transaction
7
9 COMMIT [ WORK | TRANSACTION ]
10
12 COMMIT commits the current transaction. All changes made by the
13 transaction become visible to others and are guaranteed to be durable
14 if a crash occurs.
15
17 WORK, TRANSACTION
18 Optional key words. They have no effect.
19
21 Use ROLLBACK(7) to abort a transaction.
22
23 Issuing COMMIT when not inside a transaction does no harm, but it will
24 provoke a warning message.
25
27 To commit the current transaction and make all changes permanent:
28
29 COMMIT;
30
32 The SQL standard only specifies the two forms COMMIT and COMMIT WORK.
33 Otherwise, this command is fully conforming.
34
36 BEGIN(7), ROLLBACK(7)
37
38
39
40PostgreSQL 9.2.24 2017-11-06 COMMIT(7)