Commit 000086b4 authored by Alvaro Herrera's avatar Alvaro Herrera

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

parent 90843997
<!-- <!--
$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 PostgreSQL documentation
--> -->
...@@ -91,6 +91,12 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL } ...@@ -91,6 +91,12 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
You can see all available cursors by querying the <link You can see all available cursors by querying the <link
linkend="view-pg-cursors"><structname>pg_cursors</></> system view. linkend="view-pg-cursors"><structname>pg_cursors</></> system view.
</para> </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>
<refsect1> <refsect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment