ok
Direktori : /opt/alt/postgresql11/usr/share/man/man7/ |
Current File : //opt/alt/postgresql11/usr/share/man/man7/ROLLBACK.7 |
'\" t .\" Title: ROLLBACK .\" Author: The PostgreSQL Global Development Group .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Date: 2017-11-06 .\" Manual: PostgreSQL 9.2.24 Documentation .\" Source: PostgreSQL 9.2.24 .\" Language: English .\" .TH "ROLLBACK" "7" "2017-11-06" "PostgreSQL 9.2.24" "PostgreSQL 9.2.24 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ROLLBACK \- abort the current transaction .\" ROLLBACK .SH "SYNOPSIS" .sp .nf ROLLBACK [ WORK | TRANSACTION ] .fi .SH "DESCRIPTION" .PP \fBROLLBACK\fR rolls back the current transaction and causes all the updates made by the transaction to be discarded\&. .SH "PARAMETERS" .PP WORK, TRANSACTION .RS 4 Optional key words\&. They have no effect\&. .RE .SH "NOTES" .PP Use \fBCOMMIT\fR(7) to successfully terminate a transaction\&. .PP Issuing \fBROLLBACK\fR when not inside a transaction does no harm, but it will provoke a warning message\&. .SH "EXAMPLES" .PP To abort all changes: .sp .if n \{\ .RS 4 .\} .nf ROLLBACK; .fi .if n \{\ .RE .\} .SH "COMPATIBILITY" .PP The SQL standard only specifies the two forms ROLLBACK and ROLLBACK WORK\&. Otherwise, this command is fully conforming\&. .SH "SEE ALSO" \fBBEGIN\fR(7), \fBCOMMIT\fR(7), ROLLBACK TO SAVEPOINT (\fBROLLBACK_TO_SAVEPOINT\fR(7))