From: Bruce Momjian Date: Sun, 17 Aug 2003 04:46:00 +0000 (+0000) Subject: There is a misstatement in the CLOSE reference page, now that we X-Git-Tag: REL7_4_BETA2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7f266e5fed574265ed6d607f11918b513179447;p=thirdparty%2Fpostgresql.git There is a misstatement in the CLOSE reference page, now that we have cursors that might outlive their creating transactions. A patch is attached that fixes this (suggestions on better wording are welcome). Neil Conway --- diff --git a/doc/src/sgml/ref/close.sgml b/doc/src/sgml/ref/close.sgml index 9ae487c3f78..c86e945a3dc 100644 --- a/doc/src/sgml/ref/close.sgml +++ b/doc/src/sgml/ref/close.sgml @@ -1,5 +1,5 @@ @@ -31,9 +31,13 @@ CLOSE cursor - Every open cursor is implicitly closed when a transaction is - terminated by COMMIT or - ROLLBACK. + Every non-holdable open cursor is implicitly closed when a + transaction is terminated by COMMIT or + ROLLBACK. Holdable cursors are implicitely + closed if the transaction that created them aborts via + ROLLBACK; if this does not happen, the holdable + cursor remains open until an explicit CLOSE is + executed, or the client disconnects.