Skip to content

Commit e1635b4

Browse files
committed
Back out "Remove outdated documentation section of ecpg." for Michael.
1 parent bc7d37a commit e1635b4

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.19 2001/08/24 18:08:25 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.20 2001/08/26 17:04:02 momjian Exp $
33
-->
44

55
<chapter id="ecpg">
@@ -805,6 +805,53 @@ exec sql disconnect [<replaceable>connection target</replaceable>];
805805
</listitem>
806806
</varlistentry>
807807

808+
<!--WARNING: FROM HERE ON THE TEXT IS OUTDATED!-->
809+
<varlistentry>
810+
<term>Open cursor statement</term>
811+
<listitem>
812+
<para>
813+
An open cursor statement looks like:
814+
<programlisting>
815+
exec sql open <replaceable>cursor</replaceable>;
816+
</programlisting>
817+
and is ignore and not copied from the output.
818+
</para>
819+
</listitem>
820+
</varlistentry>
821+
822+
<varlistentry>
823+
<term>Commit statement</term>
824+
<listitem>
825+
<para>
826+
A commit statement looks like
827+
<programlisting>
828+
exec sql commit;
829+
</programlisting>
830+
and is translated on the output to
831+
<programlisting>
832+
ECPGcommit(__LINE__);
833+
</programlisting>
834+
</para>
835+
</listitem>
836+
</varlistentry>
837+
838+
<varlistentry>
839+
<term>Rollback statement</term>
840+
<listitem>
841+
<para>
842+
A rollback statement looks like
843+
<programlisting>
844+
exec sql rollback;
845+
</programlisting>
846+
and is translated on the output to
847+
<programlisting>
848+
ECPGrollback(__LINE__);
849+
</programlisting>
850+
</para>
851+
</listitem>
852+
</varlistentry>
853+
854+
<!--STARTING HERE IT IS OKAY AGAIN!-->
808855
<varlistentry>
809856
<term>Other statements</term>
810857
<listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy