Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7f266e

Browse files
committed
There is a misstatement in the CLOSE reference page, now that we
have cursors that might outlive their creating transactions. Apatch is attached that fixes this (suggestions on better wordingare welcome).Neil Conway
1 parentb433f40 commite7f266e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

‎doc/src/sgml/ref/close.sgml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/close.sgml,v 1.14 2003/04/15 13:25:08 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/close.sgml,v 1.15 2003/08/17 04:46:00 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -31,9 +31,13 @@ CLOSE <replaceable class="PARAMETER">cursor</replaceable>
3131
</para>
3232

3333
<para>
34-
Every open cursor is implicitly closed when a transaction is
35-
terminated by <command>COMMIT</command> or
36-
<command>ROLLBACK</command>.
34+
Every non-holdable open cursor is implicitly closed when a
35+
transaction is terminated by <command>COMMIT</command> or
36+
<command>ROLLBACK</command>. Holdable cursors are implicitely
37+
closed if the transaction that created them aborts via
38+
<command>ROLLBACK</command>; if this does not happen, the holdable
39+
cursor remains open until an explicit <command>CLOSE</command> is
40+
executed, or the client disconnects.
3741
</para>
3842
</refsect1>
3943

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp