Skip to content

Commit 000086b

Browse files
committed
Document that "ROLLBACK TO savepoint" does not un-close cursors.
1 parent 9084399 commit 000086b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/src/sgml/ref/close.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.26 2007/05/15 19:13:55 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.27 2008/05/12 16:23:26 alvherre Exp $
33
PostgreSQL documentation
44
-->
55

@@ -91,6 +91,12 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
9191
You can see all available cursors by querying the <link
9292
linkend="view-pg-cursors"><structname>pg_cursors</></> system view.
9393
</para>
94+
95+
<para>
96+
If a cursor is closed after a savepoint which is later rolled back,
97+
the <command>CLOSE</command> is not rolled back; that is, the cursor
98+
remains closed.
99+
</para>
94100
</refsect1>
95101

96102
<refsect1>

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