.\\" auto-generated by docbook2man-spec $Revision: 1.25 $ .TH "ABORT" "7" "2002-11-22" "SQL - Language Statements" "SQL Commands" .SH NAME ABORT \- abort the current transaction .SH SYNOPSIS .sp .nf ABORT [ WORK | TRANSACTION ] .sp .fi .SS "INPUTS" .PP None. .SS "OUTPUTS" .PP .TP \fBROLLBACK\fR Message returned if successful. .TP \fBWARNING: ROLLBACK: no transaction in progress\fR If there is not any transaction currently in progress. .PP .SH "DESCRIPTION" .PP \fBABORT\fR rolls back the current transaction and causes all the updates made by the transaction to be discarded. This command is identical in behavior to the SQL92 command \fBROLLBACK\fR, and is present only for historical reasons. .SS "NOTES" .PP Use \fBCOMMIT\fR to successfully terminate a transaction. .SH "USAGE" .PP To abort all changes: .sp .nf ABORT WORK; .sp .fi .SH "COMPATIBILITY" .SS "SQL92" .PP This command is a PostgreSQL extension present for historical reasons. \fBROLLBACK\fR is the SQL92 equivalent command.