File tree 5 files changed +1019
-3
lines changed
5 files changed +1019
-3
lines changed Original file line number Diff line number Diff line change
1
+ <REFENTRY ID="SQL-ABORT">
2
+ <REFMETA>
3
+ <REFENTRYTITLE>
4
+ ABORT
5
+ </REFENTRYTITLE>
6
+ <REFMISCINFO>SQL - Language Statements</REFMISCINFO>
7
+ </REFMETA>
8
+ <REFNAMEDIV>
9
+ <REFNAME>
10
+ ABORT
11
+ </REFNAME>
12
+ <REFPURPOSE>
13
+ Aborts the current transaction
14
+ </REFPURPOSE>
15
+ <REFSYNOPSISDIV>
16
+ <REFSYNOPSISDIVINFO>
17
+ <DATE>1998-09-27</DATE>
18
+ </REFSYNOPSISDIVINFO>
19
+ <SYNOPSIS>
20
+ ABORT
21
+ </SYNOPSIS>
22
+
23
+ <REFSECT2 ID="R2-SQL-ABORT-1">
24
+ <REFSECT2INFO>
25
+ <DATE>1998-09-27</DATE>
26
+ </REFSECT2INFO>
27
+ <TITLE>
28
+ Inputs
29
+ </TITLE>
30
+ <PARA>
31
+ None.
32
+
33
+ </REFSECT2>
34
+
35
+ <REFSECT2 ID="R2-SQL-ABORT-2">
36
+ <REFSECT2INFO>
37
+ <DATE>1998-09-27</DATE>
38
+ </REFSECT2INFO>
39
+ <TITLE>
40
+ Outputs
41
+ </TITLE>
42
+ <PARA>
43
+
44
+ <VARIABLELIST>
45
+ <VARLISTENTRY>
46
+ <TERM>
47
+ ABORT
48
+ </TERM>
49
+ <LISTITEM>
50
+ <PARA>
51
+ Message returned if successful.
52
+
53
+ <VARLISTENTRY>
54
+ <TERM>
55
+ NOTICE: UserAbortTransactionBlock and not in in-progress state
56
+ ABORT
57
+ </TERM>
58
+ <LISTITEM>
59
+ <PARA>
60
+ If there is not any transaction currently in progress.
61
+
62
+ </VARLISTENTRY>
63
+ </VARIABLELIST>
64
+
65
+ </REFSECT2>
66
+ </REFSYNOPSISDIV>
67
+
68
+ <REFSECT1 ID="R1-SQL-ABORT-1">
69
+ <REFSECT1INFO>
70
+ <DATE>1998-09-27</DATE>
71
+ </REFSECT1INFO>
72
+ <TITLE>
73
+ Description
74
+ </TITLE>
75
+ <PARA>
76
+ <command>ABORT</command> rolls back the current transaction and causes
77
+ all the updates made by the transaction to be discarded.
78
+ This command is identical
79
+ in behavior to the <acronym>SQL92</acronym> command <command>ROLLBACK</command>,
80
+ and is present only for historical reasons.
81
+
82
+ <REFSECT2 ID="R2-SQL-ABORT-3">
83
+ <REFSECT2INFO>
84
+ <DATE>1998-09-27</DATE>
85
+ </REFSECT2INFO>
86
+ <TITLE>
87
+ Notes
88
+ </TITLE>
89
+ <para>
90
+ Use the <command>COMMIT</command> statement to successfully
91
+ terminate a transaction.
92
+
93
+ </REFSECT1>
94
+
95
+ <REFSECT1 ID="R1-SQL-ABORT-2">
96
+ <TITLE>
97
+ Usage
98
+ </TITLE>
99
+ <PARA>
100
+ <ProgramListing>
101
+ --To abort all changes
102
+ --
103
+ ABORT WORK;
104
+ </ProgramListing>
105
+
106
+ </REFSECT1>
107
+
108
+ <REFSECT1 ID="R1-SQL-ABORT-3">
109
+ <TITLE>
110
+ Compatibility
111
+ </TITLE>
112
+ <PARA>
113
+
114
+ <REFSECT2 ID="R2-SQL-ABORT-4">
115
+ <REFSECT2INFO>
116
+ <DATE>1998-09-27</DATE>
117
+ </REFSECT2INFO>
118
+ <TITLE>
119
+ SQL92
120
+ </TITLE>
121
+ <para>
122
+ This command is a <productname>Postgres</productname> extension present
123
+ for historical reasons. <command>ROLLBACK</command> is the <acronym>SQL92</acronym>
124
+ equivalent command.
125
+ </PARA>
126
+
127
+ </REFENTRY>
Original file line number Diff line number Diff line change 55
55
-->
56
56
57
57
<!-- these are in the "commands" reference chapter -->
58
+ <!entity abort system "abort.sgml">
58
59
<!entity alterTable system "alter_table.sgml">
59
60
<!entity alterUser system "alter_user.sgml">
60
61
<!entity begin system "begin.sgml">
107
108
<!entity show system "show.sgml">
108
109
<!entity update system "update.sgml">
109
110
<!entity vacuum system "vacuum.sgml">
111
+
112
+ <!-- these are in the "utilities" reference chapter -->
113
+ <!entity psqlRef system "psql-ref.sgml">
Original file line number Diff line number Diff line change 1
- <Chapter >
2
- <Title>Commands</Title>
1
+ <chapter id="sql-commands" >
2
+ <Title>SQL Commands</Title>
3
3
4
4
<Para>
5
+ This is reference information for the <acronym>SQL</acronym>
6
+ commands supported by <productname>Postgres</productname>.
5
7
</Para>
6
8
9
+ &abort;
7
10
&alterTable;
8
11
&alterUser;
9
12
&begin;
62
65
<title>SQL Functions</title>
63
66
64
67
<para>
68
+ This chapter provides reference information for the <acronym>SQL</acronym>
69
+ functions supported by <productname>Postgres</productname>.
65
70
</para>
66
71
67
72
¤tDate;
71
76
72
77
</chapter>
73
78
79
+ <chapter Id="utilities">
80
+ <title>Utility Applications</title>
81
+
82
+ <para>
83
+ This is reference information for the
84
+ <productname>Postgres</productname> support utilities.
85
+ </para>
86
+
87
+ &psqlRef;
88
+
89
+ </chapter>
74
90
75
91
<!-- Keep this comment at the end of the file
76
92
Local variables:
You can’t perform that action at this time.
0 commit comments