abort.7
来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 48 行
7
48 行
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "ABORT" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEABORT \- abort the current transaction.SH SYNOPSIS.sp.nfABORT [ WORK | TRANSACTION ].sp.fi.SH "DESCRIPTION".PP\fBABORT\fR rolls back the current transaction and causesall the updates made by the transaction to be discarded. This command is identicalin behavior to the standard SQL commandROLLBACK [\fBrollback\fR(7)],and is present only for historical reasons..SH "PARAMETERS".TP\fBWORK\fR.TP\fBTRANSACTION\fROptional key words. They have no effect..SH "NOTES".PPUse COMMIT [\fBcommit\fR(7)] tosuccessfully terminate a transaction..PPIssuing \fBABORT\fR when not inside a transaction doesno harm, but it will provoke a warning message..SH "EXAMPLES".PPTo abort all changes:.sp.nfABORT;.sp.fi.SH "COMPATIBILITY".PPThis command is a PostgreSQL extensionpresent for historical reasons. \fBROLLBACK\fR is theequivalent standard SQL command..SH "SEE ALSO"BEGIN [\fBbegin\fR(7)], COMMIT [\fBcommit\fR(l)], ROLLBACK [\fBrollback\fR(l)]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?