rollback_prepared.7

来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 44 行

7
44
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "ROLLBACK PREPARED" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEROLLBACK PREPARED \- cancel a transaction that was earlier prepared for two-phase commit.SH SYNOPSIS.sp.nfROLLBACK PREPARED \fItransaction_id\fR.sp.fi.SH "DESCRIPTION".PP\fBROLLBACK PREPARED\fR rolls back a transaction that is in prepared state..SH "PARAMETERS".TP\fB\fItransaction_id\fB\fRThe transaction identifier of the transaction that is to berolled back..SH "NOTES".PPTo roll back a prepared transaction, you must be either the same user thatexecuted the transaction originally, or a superuser. But you do nothave to be in the same session that executed the transaction..PPThis command cannot be executed inside a transaction block. The preparedtransaction is rolled back immediately..PPAll currently available prepared transactions are listed in the\fBpg_prepared_xacts\fRsystem view..SH "EXAMPLES".PPRoll back the transaction identified by the transactionidentifier foobar:.sp.nfROLLBACK PREPARED 'foobar';.sp.fi.SH "SEE ALSO"PREPARE TRANSACTION [\fBprepare_transaction\fR(7)], COMMIT PREPARED [\fBcommit_prepared\fR(l)]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?