4 ROLLBACK PREPARED — cancel a transaction that was earlier prepared for
9 ROLLBACK PREPARED transaction_id
13 ROLLBACK PREPARED rolls back a transaction that is in prepared state.
18 The transaction identifier of the transaction that is to be
23 To roll back a prepared transaction, you must be either the same user
24 that executed the transaction originally, or a superuser. But you do
25 not 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 rolled back immediately.
30 All currently available prepared transactions are listed in the
31 pg_prepared_xacts system view.
35 Roll back the transaction identified by the transaction identifier
37 ROLLBACK PREPARED 'foobar';
41 ROLLBACK PREPARED is a PostgreSQL extension. It is intended for use by
42 external transaction management systems, some of which are covered by
43 standards (such as X/Open XA), but the SQL side of those systems is not
48 PREPARE TRANSACTION, COMMIT PREPARED