head	1.19;
access;
symbols
	REL9_0_0:1.19
	REL9_1_ALPHA1:1.19
	REL9_0_RC1:1.19
	REL9_0_BETA4:1.19
	REL9_0_STABLE:1.19.0.2
	REL9_0_BETA3:1.19
	REL9_0_BETA2:1.19
	REL7_4_29:1.15
	REL8_0_25:1.16
	REL8_1_21:1.16
	REL8_2_17:1.17
	REL8_3_11:1.17
	REL8_4_4:1.18
	REL9_0_BETA1:1.19
	REL9_0_ALPHA5_BRANCH:1.18.0.12
	REL9_0_ALPHA5:1.18
	REL7_4_28:1.15
	REL8_0_24:1.16
	REL8_1_20:1.16
	REL8_2_16:1.17
	REL8_3_10:1.17
	REL8_4_3:1.18
	REL9_0_ALPHA4:1.18
	REL9_0_ALPHA4_BRANCH:1.18.0.10
	REL8_5_ALPHA3:1.18
	REL8_5_ALPHA3_BRANCH:1.18.0.8
	REL7_4_27:1.15
	REL8_0_23:1.16
	REL8_1_19:1.16
	REL8_2_15:1.17
	REL8_3_9:1.17
	REL8_4_2:1.18
	REL8_5_ALPHA2:1.18
	REL8_5_ALPHA2_BRANCH:1.18.0.6
	REL7_4_26:1.15
	REL8_0_22:1.16
	REL8_1_18:1.16
	REL8_2_14:1.17
	REL8_3_8:1.17
	REL8_4_1:1.18
	REL8_5_ALPHA1:1.18
	REL8_5_ALPHA1_BRANCH:1.18.0.4
	REL8_4_STABLE:1.18.0.2
	REL8_4_0:1.18
	REL8_4_RC2:1.18
	REL8_4_RC1:1.18
	REL8_4_BETA2:1.18
	REL8_4_BETA1:1.18
	REL7_4_25:1.15
	REL8_0_21:1.16
	REL8_1_17:1.16
	REL8_2_13:1.17
	REL8_3_7:1.17
	REL7_4_24:1.15
	REL8_0_20:1.16
	REL8_1_16:1.16
	REL8_2_12:1.17
	REL8_3_6:1.17
	REL7_4_23:1.15
	REL8_0_19:1.16
	REL8_1_15:1.16
	REL8_2_11:1.17
	REL8_3_5:1.17
	REL7_4_22:1.15
	REL8_0_18:1.16
	REL8_1_14:1.16
	REL8_2_10:1.17
	REL8_3_4:1.17
	REL7_4_21:1.15
	REL8_0_17:1.16
	REL8_1_13:1.16
	REL8_2_9:1.17
	REL8_3_3:1.17
	REL7_4_20:1.15
	REL8_0_16:1.16
	REL8_1_12:1.16
	REL8_2_8:1.17
	REL8_3_2:1.17
	REL8_2_7:1.17
	REL8_3_1:1.17
	REL8_3_STABLE:1.17.0.4
	REL8_3_0:1.17
	REL8_3_RC2:1.17
	REL7_3_21:1.11
	REL7_4_19:1.15
	REL8_0_15:1.16
	REL8_1_11:1.16
	REL8_2_6:1.17
	REL8_3_RC1:1.17
	REL8_3_BETA4:1.17
	REL8_3_BETA3:1.17
	REL8_3_BETA2:1.17
	REL8_3_BETA1:1.17
	REL7_3_20:1.11
	REL7_4_18:1.15
	REL8_0_14:1.16
	REL8_1_10:1.16
	REL8_2_5:1.17
	REL7_3_19:1.11
	REL7_4_17:1.15
	REL8_0_13:1.16
	REL8_1_9:1.16
	REL8_2_4:1.17
	REL8_0_12:1.16
	REL8_1_8:1.16
	REL8_2_3:1.17
	REL7_3_18:1.11
	REL7_4_16:1.15
	REL8_0_11:1.16
	REL8_1_7:1.16
	REL8_2_2:1.17
	REL8_0_10:1.16
	REL8_1_6:1.16
	REL8_2_1:1.17
	REL7_4_15:1.15
	REL7_3_17:1.11
	REL8_2_STABLE:1.17.0.2
	REL8_2_0:1.17
	REL8_2_RC1:1.17
	REL8_2_BETA3:1.17
	REL8_2_BETA2:1.17
	REL8_1_5:1.16
	REL8_0_9:1.16
	REL7_4_14:1.15
	REL7_3_16:1.11
	REL8_2_BETA1:1.17
	REL7_3_15:1.11
	REL7_4_13:1.15
	REL8_0_8:1.16
	REL8_1_4:1.16
	REL7_3_14:1.11
	REL7_4_12:1.15
	REL8_0_7:1.16
	REL8_1_3:1.16
	REL7_3_13:1.11
	REL7_4_11:1.15
	REL8_0_6:1.16
	REL8_1_2:1.16
	REL7_3_12:1.11
	REL7_4_10:1.15
	REL8_0_5:1.16
	REL8_1_1:1.16
	REL8_1_STABLE:1.16.0.6
	REL8_1_0:1.16
	REL8_1_0RC1:1.16
	REL8_1_0BETA4:1.16
	REL8_1_0BETA3:1.16
	REL7_3_11:1.11
	REL7_4_9:1.15
	REL8_0_4:1.16
	REL8_1_0BETA2:1.16
	REL8_1_0BETA1:1.16
	REL7_2_8:1.9
	REL7_3_10:1.11
	REL7_4_8:1.15
	REL8_0_3:1.16
	REL8_0_2:1.16
	REL7_2_7:1.9
	REL7_3_9:1.11
	REL7_4_7:1.15
	REL8_0_1:1.16
	REL8_0_STABLE:1.16.0.4
	REL8_0_0:1.16.0.2
	REL8_0_0RC5:1.16
	REL8_0_0RC4:1.16
	REL8_0_0RC3:1.16
	REL8_0_0RC2:1.16
	REL8_0_0RC1:1.16
	REL8_0_0BETA5:1.16
	REL8_0_0BETA4:1.16
	REL7_4_6:1.15
	REL7_3_8:1.11
	REL7_2_6:1.9
	REL8_0_0BETA3:1.16
	REL8_0_0BETA2:1.16
	REL7_2_5:1.9
	REL7_4_5:1.15
	REL7_3_7:1.11
	REL7_4_4:1.15
	REL8_0_0BETA1:1.16
	REL7_4_3:1.15
	REL7_4_2:1.15
	REL7_3_6:1.11
	REL7_4_1:1.15
	REL7_3_5:1.11
	REL7_4:1.15
	REL7_4_RC2:1.15
	REL7_4_STABLE:1.15.0.2
	REL7_4_RC1:1.15
	REL7_4_BETA5:1.15
	REL7_4_BETA4:1.15
	REL7_4_BETA3:1.15
	REL7_4_BETA2:1.13
	WIN32_DEV:1.13.0.2
	REL7_4_BETA1:1.13
	REL7_3_4:1.11
	REL7_3_2:1.11
	REL7_2_4:1.9
	REL7_3_STABLE:1.11.0.2
	REL7_2_3:1.9
	REL7_2_STABLE:1.9.0.2
	REL7_2:1.9
	REL7_2_RC2:1.9
	REL7_2_RC1:1.9
	REL7_2_BETA5:1.9
	REL7_2_BETA4:1.9
	REL7_2_BETA3:1.8
	REL7_2_BETA2:1.8
	REL7_2_BETA1:1.8
	REL7_1_2:1.7
	REL7_1_STABLE:1.7.0.4
	REL7_1_BETA:1.7
	REL7_1_BETA3:1.7
	REL7_1_BETA2:1.7
	REL7_1:1.7
	REL7_0_PATCHES:1.7.0.2
	REL7_0:1.7
	REL6_5_PATCHES:1.3.0.2
	REL6_5:1.3
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


1.19
date	2010.04.03.07.22.56;	author petere;	state Exp;
branches;
next	1.18;

1.18
date	2008.11.14.10.22.45;	author petere;	state Exp;
branches;
next	1.17;

1.17
date	2006.09.16.00.30.16;	author momjian;	state Exp;
branches;
next	1.16;

1.16
date	2003.11.29.19.51.38;	author pgsql;	state Exp;
branches;
next	1.15;

1.15
date	2003.09.09.18.28.52;	author tgl;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.31.17.32.21;	author petere;	state Exp;
branches;
next	1.13;

1.13
date	2003.04.26.23.56.51;	author petere;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2003.04.15.13.25.08;	author petere;	state Exp;
branches;
next	1.11;

1.11
date	2002.04.21.19.02.39;	author thomas;	state Exp;
branches;
next	1.10;

1.10
date	2002.03.06.06.48.02;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	2001.12.08.03.24.33;	author thomas;	state Exp;
branches;
next	1.8;

1.8
date	2001.09.03.12.57.49;	author petere;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.27.17.14.42;	author thomas;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.26.18.32.27;	author petere;	state Exp;
branches;
next	1.5;

1.5
date	2000.01.29.16.58.27;	author petere;	state Exp;
branches;
next	1.4;

1.4
date	99.07.22.15.09.05;	author thomas;	state Exp;
branches;
next	1.3;

1.3
date	99.07.06.17.16.33;	author thomas;	state Exp;
branches;
next	1.2;

1.2
date	98.12.29.02.24.32;	author thomas;	state Exp;
branches;
next	1.1;

1.1
date	98.09.30.05.38.53;	author thomas;	state Exp;
branches;
next	;

1.13.2.1
date	2003.09.07.04.36.44;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Remove unnecessary xref endterm attributes and title ids

The endterm attribute is mainly useful when the toolchain does not support
automatic link target text generation for a particular situation.  In  the
past, this was required by the man page tools for all reference page links,
but that is no longer the case, and it now actually gets in the way of
proper automatic link text generation.  The only remaining use cases are
currently xrefs to refsects.
@
text
@<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/abort.sgml,v 1.18 2008/11/14 10:22:45 petere Exp $
PostgreSQL documentation
-->

<refentry id="SQL-ABORT">
 <refmeta>
  <refentrytitle>ABORT</refentrytitle>
  <manvolnum>7</manvolnum>
  <refmiscinfo>SQL - Language Statements</refmiscinfo>
 </refmeta>

 <refnamediv>
  <refname>ABORT</refname>
  <refpurpose>abort the current transaction</refpurpose>
 </refnamediv>

 <indexterm zone="sql-abort">
  <primary>ABORT</primary>
 </indexterm>

 <refsynopsisdiv>
<synopsis>
ABORT [ WORK | TRANSACTION ]
</synopsis>
 </refsynopsisdiv>

 <refsect1>
  <title>Description</title>

  <para>
   <command>ABORT</command> 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 standard <acronym>SQL</acronym> command
   <xref linkend="SQL-ROLLBACK">,
   and is present only for historical reasons.
  </para>
 </refsect1>

 <refsect1>
  <title>Parameters</title>

  <variablelist>
   <varlistentry>
    <term><literal>WORK</literal></term>
    <term><literal>TRANSACTION</literal></term>
    <listitem>
     <para>
      Optional key words. They have no effect.
     </para>
    </listitem>
   </varlistentry>
  </variablelist>
 </refsect1>

 <refsect1>
  <title>Notes</title>

  <para>
   Use <xref linkend="SQL-COMMIT"> to
   successfully terminate a transaction.
  </para>

  <para>
   Issuing <command>ABORT</> when not inside a transaction does
   no harm, but it will provoke a warning message.
  </para>
 </refsect1>

 <refsect1>
  <title>Examples</title>

  <para>
   To abort all changes:
<programlisting>
ABORT;
</programlisting>
  </para>
 </refsect1>

 <refsect1>
  <title>Compatibility</title>

  <para>
   This command is a <productname>PostgreSQL</productname> extension
   present for historical reasons. <command>ROLLBACK</command> is the
   equivalent standard SQL command.
  </para>
 </refsect1>

 <refsect1>
  <title>See Also</title>

  <simplelist type="inline">
   <member><xref linkend="sql-begin"></member>
   <member><xref linkend="sql-commit"></member>
   <member><xref linkend="sql-rollback"></member>
  </simplelist>
 </refsect1>
</refentry>
@


1.18
log
@Set SQL man pages to be section 7 by default, and only transform them to
another section if required by the platform (instead of the old way of
building them in section "l" and always transforming them to the
platform-specific section).

This speeds up the installation on common platforms, and it avoids some
funny business with the man page tools and build process.
@
text
@d2 1
a2 1
$PostgreSQL: pgsql/doc/src/sgml/ref/abort.sgml,v 1.17 2006/09/16 00:30:16 momjian Exp $
d8 1
a8 1
  <refentrytitle id="sql-abort-title">ABORT</refentrytitle>
d36 1
a36 1
   <xref linkend="SQL-ROLLBACK" endterm="SQL-ROLLBACK-TITLE">,
d61 1
a61 1
   Use <xref linkend="SQL-COMMIT" endterm="SQL-COMMIT-TITLE"> to
d96 3
a98 3
   <member><xref linkend="sql-begin" endterm="sql-begin-title"></member>
   <member><xref linkend="sql-commit" endterm="sql-commit-title"></member>
   <member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member>
@


1.17
log
@Remove emacs info from footer of SGML files.
@
text
@d2 1
a2 1
$PostgreSQL: pgsql/doc/src/sgml/ref/abort.sgml,v 1.16 2003/11/29 19:51:38 pgsql Exp $
d9 1
@


1.16
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d2 1
a2 1
$PostgreSQL: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.15 2003/09/09 18:28:52 tgl Exp $
a100 17

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:"/usr/lib/sgml/catalog"
sgml-local-ecat-files:nil
End:
-->
@


1.15
log
@Remove a bunch of content-free Diagnostics sections, as per previous
discussion.  (Still have some work to do editing the remainder.)
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.14 2003/08/31 17:32:21 petere Exp $
@


1.14
log
@Add/edit index entries.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.13 2003/04/26 23:56:51 petere Exp $
d34 2
a35 1
   in behavior to the standard <acronym>SQL</acronym> command <command>ROLLBACK</command>,
d57 1
a57 1
  <title>Diagnostics</title>
d59 4
a62 23
  <variablelist>
   <varlistentry>
    <term><computeroutput>ROLLBACK</computeroutput></term>
    <listitem>
     <para>
      Message returned if successful.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry>
    <term><computeroutput>WARNING:  ROLLBACK: no transaction in progress</computeroutput></term>
    <listitem>
     <para>
      If there is not any transaction currently in progress.
     </para>
    </listitem>
   </varlistentry>
  </variablelist>
 </refsect1>

 <refsect1>
  <title>Notes</title>
d65 2
a66 2
   Use <command>COMMIT</command> to successfully
   terminate a transaction.
d91 9
@


1.13
log
@Editing of more reference pages.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.12 2003/04/15 13:25:08 petere Exp $
d16 4
@


1.13.2.1
log
@Update this branch to match CVS head, includes WIN32 improvements.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.14 2003/08/31 17:32:21 petere Exp $
a15 4

 <indexterm zone="sql-abort">
  <primary>ABORT</primary>
 </indexterm>
@


1.12
log
@Bring SQL ref pages to consistent format, part 1.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql-server/doc/src/sgml/ref/abort.sgml,v 1.11 2002/04/21 19:02:39 thomas Exp $
d36 16
d90 1
a90 1
ABORT WORK;
@


1.11
log
@Augment the date/time examples in the User's Guide to reflect the newer
 capabilities of specifying time zones as intervals per SQL9x.
Put refentrytitle contents on the same line as the tag.
 Otherwise, leading whitespace is propagated into the product, which
 (at least) messes up the ToC layout.
Remove (some) docinfo tags containing dates. Best to omit if the dates
 are not accurate; maybe use CVS dates instead or leave them out.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.10 2002/03/06 06:48:02 momjian Exp $
d11 1
d13 2
a14 6
  <refname>
   ABORT
  </refname>
  <refpurpose>
   abort the current transaction
  </refpurpose>
d16 1
d18 1
a18 4
  <refsynopsisdivinfo>
   <date>1999-07-20</date>
  </refsynopsisdivinfo>
  <synopsis>
d20 2
a21 1
  </synopsis>
d23 2
a24 48
  <refsect2 id="R2-SQL-ABORT-1">
   <refsect2info>
    <date>1998-09-27</date>
   </refsect2info>
   <title>
    Inputs
   </title>

   <para>
    None.
   </para>
  </refsect2>

  <refsect2 id="R2-SQL-ABORT-2">
   <refsect2info>
    <date>1998-09-27</date>
   </refsect2info>
   <title>
    Outputs
   </title>

   <para>

    <variablelist>
     <varlistentry>
      <term><computeroutput>
ROLLBACK
       </computeroutput></term>
      <listitem>
       <para>
	Message returned if successful.
       </para>
      </listitem>
     </varlistentry>
     <varlistentry>
      <term><computeroutput>
WARNING:  ROLLBACK: no transaction in progress
       </computeroutput></term>
      <listitem>
       <para>
	If there is not any transaction currently in progress.
       </para>
      </listitem>
     </varlistentry>
    </variablelist>
   </para>
  </refsect2>
 </refsynopsisdiv>
a25 7
 <refsect1 id="R1-SQL-ABORT-1">
  <refsect1info>
   <date>1998-09-27</date>
  </refsect1info>
  <title>
   Description
  </title>
d30 1
a30 1
   in behavior to the <acronym>SQL92</acronym> command <command>ROLLBACK</command>,
a32 12
  <refsect2 id="R2-SQL-ABORT-3">
   <refsect2info>
    <date>1998-09-27</date>
   </refsect2info>
   <title>
    Notes
   </title>
   <para>
    Use <command>COMMIT</command> to successfully
    terminate a transaction.
   </para>
  </refsect2>
d35 36
a70 4
 <refsect1 id="R1-SQL-ABORT-2">
  <title>
   Usage
  </title>
d73 1
a73 1
   <programlisting>
d75 1
a75 1
   </programlisting>
d77 1
d79 2
a80 1
 </refsect1>
d82 5
a86 18
 <refsect1 id="R1-SQL-ABORT-3">
  <title>
   Compatibility
  </title>

  <refsect2 id="R2-SQL-ABORT-4">
   <refsect2info>
    <date>1998-09-27</date>
   </refsect2info>
   <title>
    SQL92
   </title>
   <para>
    This command is a <productname>PostgreSQL</productname> extension present
    for historical reasons. <command>ROLLBACK</command> is the <acronym>SQL92</acronym>
    equivalent command.
   </para>
  </refsect2>
@


1.10
log
@Update reference pages for new INFO, NOTICE, WARNING elog() levels.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.9 2001/12/08 03:24:33 thomas Exp $
d8 1
a8 3
  <refentrytitle id="sql-abort-title">
   ABORT
  </refentrytitle>
@


1.9
log
@Use PostgreSQL consistantly throughout docs. Before, usage was split evenly
 between Postgres and PostgreSQL.
@
text
@d2 1
a2 1
$Header: /cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.8 2001/09/03 12:57:49 petere Exp $
d65 1
a65 1
NOTICE:  ROLLBACK: no transaction in progress
@


1.8
log
@Put some kind of grammatical uniformity in the <refpurpose> lines.
@
text
@d2 2
a3 2
$Header: /home/projects/pgsql/cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.7 2000/03/27 17:14:42 thomas Exp $
Postgres documentation
d132 1
a132 1
    This command is a <productname>Postgres</productname> extension present
@


1.7
log
@Start updating for the v7.0 release.
Use "generic functions" for math and other routines.
Use SQL92 "type 'literal'" syntax rather than Postgres "'literal'::type".
@
text
@d2 1
a2 1
$Header: /usr/local/cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.6 2000/03/26 18:32:27 petere Exp $
d18 1
a18 1
   Aborts the current transaction
@


1.6
log
@Updated user's guide to match new psql's output format
Fixed bug in createdb/alternative location
@
text
@d2 1
a2 1
$Header: /usr/local/cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.5 2000/01/29 16:58:27 petere Exp $
d132 1
a132 1
    This command is a <productname>PostgreSQL</productname> extension present
@


1.5
log
@A few minor psql enhancements
Initdb help correction
Changed end/abort to commit/rollback and changed related notices
Commented out way old printing functions in libpq
Fixed a typo in alter table / alter column
@
text
@d2 1
a2 1
$Header: /usr/local/cvsroot/pgsql/doc/src/sgml/ref/abort.sgml,v 1.4 1999/07/22 15:09:05 thomas Exp $
a65 1
ROLLBACK
@


1.4
log
@Complete merge of all old man page information.
ecpg reference page still needs formatting.
@
text
@d2 1
a2 1
$Header$
d55 1
a55 1
ABORT
d65 2
a66 2
NOTICE:  UserAbortTransactionBlock and not in in-progress state
ABORT
d133 1
a133 1
    This command is a <productname>Postgres</productname> extension present
@


1.3
log
@Fix markup for docbook2man man page generation.
No big deal; fixed lots of other markup at the same time.
Bigest change: make sure there is no whitespace
 in front of <term> contents.
This will probably help the other output types too.
@
text
@d1 5
d8 1
a8 1
  <refentrytitle>
d23 1
a23 1
   <date>1998-09-27</date>
d26 1
a26 1
ABORT [ TRANSACTION | WORK ]
@


1.2
log
@Clean up to ensure tag completion as required by the newest versions
 of Norm's Modular Style Sheets and jade/docbook.
From Vince Vielhaber <vev@@michvhf.com>.
@
text
@d1 49
a49 20
<REFENTRY ID="SQL-ABORT">
<REFMETA>
<REFENTRYTITLE>
ABORT
</REFENTRYTITLE>
<REFMISCINFO>SQL - Language Statements</REFMISCINFO>
</REFMETA>
<REFNAMEDIV>
<REFNAME>
ABORT
</REFNAME>
<REFPURPOSE>
Aborts the current transaction
</REFPURPOSE>
</REFNAMEDIV>
<REFSYNOPSISDIV>
<REFSYNOPSISDIVINFO>
<DATE>1998-09-27</DATE>
</REFSYNOPSISDIVINFO>
<SYNOPSIS>
d51 9
a59 37
</SYNOPSIS>

<REFSECT2 ID="R2-SQL-ABORT-1">
<REFSECT2INFO>
<DATE>1998-09-27</DATE>
</REFSECT2INFO>
<TITLE>
Inputs
</TITLE>
<PARA>
None.
</para>

</REFSECT2>

<REFSECT2 ID="R2-SQL-ABORT-2">
<REFSECT2INFO>
<DATE>1998-09-27</DATE>
</REFSECT2INFO>
<TITLE>
Outputs
</TITLE>
<PARA>

<VARIABLELIST>
<VARLISTENTRY>
<TERM>
   ABORT
</TERM>
<LISTITEM>
<PARA>
          Message returned if successful.
</para>
</listitem>
</VARLISTENTRY>
<VARLISTENTRY>
<TERM>
d62 20
a81 20
</TERM>
<LISTITEM>
<PARA>
          If there is not any transaction currently in progress.
</para>
</listitem>
</VARLISTENTRY>
</VARIABLELIST>
</para>
</REFSECT2>
</REFSYNOPSISDIV>

<REFSECT1 ID="R1-SQL-ABORT-1">
<REFSECT1INFO>
<DATE>1998-09-27</DATE>
</REFSECT1INFO>
<TITLE>
Description
</TITLE>
<PARA>
d84 25
a108 26
This command is identical
in behavior to the <acronym>SQL92</acronym> command <command>ROLLBACK</command>,
and is present only for historical reasons.
</para>
<REFSECT2 ID="R2-SQL-ABORT-3">
<REFSECT2INFO>
<DATE>1998-09-27</DATE>
</REFSECT2INFO>
<TITLE>
Notes
</TITLE>
<para>
Use the <command>COMMIT</command> statement to successfully
 terminate a transaction.
</para>
</refsect2>
</REFSECT1>

<REFSECT1 ID="R1-SQL-ABORT-2">
<TITLE>
Usage
</TITLE>
<PARA>
<ProgramListing>
--To abort all changes
--
d110 2
a111 4
</ProgramListing>
</para>

</REFSECT1>
d113 1
a113 19
<REFSECT1 ID="R1-SQL-ABORT-3">
<TITLE>
Compatibility
</TITLE>

<REFSECT2 ID="R2-SQL-ABORT-4">
<REFSECT2INFO>
<DATE>1998-09-27</DATE>
</REFSECT2INFO>
<TITLE>
SQL92
</TITLE>
<para>
This command is a <productname>Postgres</productname> extension present
for historical reasons. <command>ROLLBACK</command> is the <acronym>SQL92</acronym>
equivalent command.
</PARA>
</refsect2>
</refsect1>
d115 38
a152 1
</REFENTRY>
@


1.1
log
@Add new SQL reference page and the first utility/app reference page
 converted from the man page.
@
text
@d15 1
d33 1
d54 3
a56 1

d65 2
a66 1

d69 1
a69 1

d86 1
a86 1

d97 2
a98 1

d111 1
a118 1
<PARA>
d132 2
@
