OSDN Git Service

Document that "ROLLBACK TO savepoint" does not un-close cursors.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 12 May 2008 16:23:26 +0000 (16:23 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 12 May 2008 16:23:26 +0000 (16:23 +0000)
doc/src/sgml/ref/close.sgml

index f4fada4..24a060b 100644 (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>