4 COMMIT PREPARED — commit a transaction that was earlier prepared for
9 COMMIT PREPARED transaction_id
13 COMMIT PREPARED commits a transaction that is in prepared state.
18 The transaction identifier of the transaction that is to be
23 To commit a prepared transaction, you must be either the same user that
24 executed the transaction originally, or a superuser. But you do not
25 have to be in the same session that executed the transaction.
27 This command cannot be executed inside a transaction block. The
28 prepared transaction is committed immediately.
30 All currently available prepared transactions are listed in the
31 pg_prepared_xacts system view.
35 Commit the transaction identified by the transaction identifier foobar:
36 COMMIT PREPARED 'foobar';
40 COMMIT PREPARED is a PostgreSQL extension. It is intended for use by
41 external transaction management systems, some of which are covered by
42 standards (such as X/Open XA), but the SQL side of those systems is not
47 PREPARE TRANSACTION, ROLLBACK PREPARED