4 END — commit the current transaction
8 END [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]
12 END 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. This command is a PostgreSQL extension that is
21 Optional key words. They have no effect.
24 If AND CHAIN is specified, a new transaction is immediately
25 started with the same transaction characteristics (see SET
26 TRANSACTION) as the just finished one. Otherwise, no new
27 transaction is started.
31 Use ROLLBACK to abort a transaction.
33 Issuing END when not inside a transaction does no harm, but it will
34 provoke a warning message.
38 To commit the current transaction and make all changes permanent:
43 END is a PostgreSQL extension that provides functionality equivalent to
44 COMMIT, which is specified in the SQL standard.
48 BEGIN, COMMIT, ROLLBACK