1COMMIT(7) PostgreSQL 10.7 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
18 TRANSACTION
19 Optional key words. They have no effect.
20
22 Use ROLLBACK(7) to abort a transaction.
23
24 Issuing COMMIT when not inside a transaction does no harm, but it will
25 provoke a warning message.
26
28 To commit the current transaction and make all changes permanent:
29
30 COMMIT;
31
33 The SQL standard only specifies the two forms COMMIT and COMMIT WORK.
34 Otherwise, this command is fully conforming.
35
37 BEGIN(7), ROLLBACK(7)
38
39
40
41PostgreSQL 10.7 2019 COMMIT(7)