Document that "ROLLBACK TO savepoint" does not un-close cursors.

This commit is contained in:
Alvaro Herrera 2008-05-12 16:23:26 +00:00
parent 9084399782
commit 000086b49c

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.26 2007/05/15 19:13:55 neilc Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.27 2008/05/12 16:23:26 alvherre Exp $
PostgreSQL documentation
-->
@ -91,6 +91,12 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
You can see all available cursors by querying the <link
linkend="view-pg-cursors"><structname>pg_cursors</></> system view.
</para>
<para>
If a cursor is closed after a savepoint which is later rolled back,
the <command>CLOSE</command> is not rolled back; that is, the cursor
remains closed.
</para>
</refsect1>
<refsect1>