From e1635b44025ca4cff059904ce01a6a325f2c5a66 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 26 Aug 2001 17:04:02 +0000
Subject: [PATCH] Back out "Remove outdated documentation section of ecpg." for
 Michael.

---
 doc/src/sgml/ecpg.sgml | 49 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 15e4fc9507..ba9bd4d0e6 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.19 2001/08/24 18:08:25 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.20 2001/08/26 17:04:02 momjian Exp $
 -->
 
  <chapter id="ecpg">
@@ -805,6 +805,53 @@ exec sql disconnect [<replaceable>connection target</replaceable>];
        </listitem>
       </varlistentry>
 
+      <!--WARNING: FROM HERE ON THE TEXT IS OUTDATED!-->
+      <varlistentry>
+       <term>Open cursor statement</term>
+       <listitem>
+	<para>
+	 An open cursor statement looks like:
+	 <programlisting>
+exec sql open <replaceable>cursor</replaceable>;
+	 </programlisting>
+	 and is ignore and not copied from the output.
+	</para>
+       </listitem>
+      </varlistentry>
+
+      <varlistentry>
+       <term>Commit statement</term>
+       <listitem>
+	<para>
+	 A commit statement looks like
+	 <programlisting>
+exec sql commit;
+	 </programlisting>
+	 and is translated on the output to
+	 <programlisting>
+ECPGcommit(__LINE__);
+	 </programlisting>
+	</para>
+       </listitem>
+      </varlistentry>
+
+      <varlistentry>
+       <term>Rollback statement</term>
+       <listitem>
+	<para>
+	 A rollback statement looks like
+	 <programlisting>
+exec sql rollback;
+	 </programlisting>
+	 and is translated on the output to
+	 <programlisting>
+ECPGrollback(__LINE__);
+	 </programlisting>
+	</para>
+       </listitem>
+      </varlistentry>
+
+      <!--STARTING HERE IT IS OKAY AGAIN!-->
       <varlistentry>
        <term>Other statements</term>
        <listitem>
-- 
2.50.0