~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/END.7

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: END
 
3
.\"    Author: The PostgreSQL Global Development Group
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
 
5
.\"      Date: 2011-04-27
 
6
.\"    Manual: PostgreSQL 9.1beta1 Documentation
 
7
.\"    Source: PostgreSQL 9.1beta1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "END" "7" "2011-04-27" "PostgreSQL 9.1beta1" "PostgreSQL 9.1beta1 Documentation"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * set default formatting
 
13
.\" -----------------------------------------------------------------
 
14
.\" disable hyphenation
 
15
.nh
 
16
.\" disable justification (adjust text to left margin only)
 
17
.ad l
 
18
.\" -----------------------------------------------------------------
 
19
.\" * MAIN CONTENT STARTS HERE *
 
20
.\" -----------------------------------------------------------------
 
21
.SH "NAME"
 
22
END \- commit the current transaction
 
23
.\" END
 
24
.SH "SYNOPSIS"
 
25
.sp
 
26
.nf
 
27
END [ WORK | TRANSACTION ]
 
28
.fi
 
29
.SH "DESCRIPTION"
 
30
.PP
 
31
END
 
32
commits the current transaction\&. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs\&. This command is a
 
33
PostgreSQL
 
34
extension that is equivalent to
 
35
\fBCOMMIT\fR(7)\&.
 
36
.SH "PARAMETERS"
 
37
.PP
 
38
WORK, TRANSACTION
 
39
.RS 4
 
40
Optional key words\&. They have no effect\&.
 
41
.RE
 
42
.SH "NOTES"
 
43
.PP
 
44
Use
 
45
\fBROLLBACK\fR(7)
 
46
to abort a transaction\&.
 
47
.PP
 
48
Issuing
 
49
END
 
50
when not inside a transaction does no harm, but it will provoke a warning message\&.
 
51
.SH "EXAMPLES"
 
52
.PP
 
53
To commit the current transaction and make all changes permanent:
 
54
.sp
 
55
.if n \{\
 
56
.RS 4
 
57
.\}
 
58
.nf
 
59
END;
 
60
.fi
 
61
.if n \{\
 
62
.RE
 
63
.\}
 
64
.SH "COMPATIBILITY"
 
65
.PP
 
66
END
 
67
is a
 
68
PostgreSQL
 
69
extension that provides functionality equivalent to
 
70
\fBCOMMIT\fR(7), which is specified in the SQL standard\&.
 
71
.SH "SEE ALSO"
 
72
\fBBEGIN\fR(7), \fBCOMMIT\fR(7), \fBROLLBACK\fR(7)