diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-08-17 04:46:00 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-08-17 04:46:00 +0000 |
commit | e7f266e5fed574265ed6d607f11918b513179447 (patch) | |
tree | 75471c4189bebe12d8ca326aff5257987154e6d6 | |
parent | b433f405c552676f4ba136080bd1054be12cce12 (diff) | |
download | postgresql-e7f266e5fed574265ed6d607f11918b513179447.tar.gz postgresql-e7f266e5fed574265ed6d607f11918b513179447.zip |
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
-rw-r--r-- | doc/src/sgml/ref/close.sgml | 12 |
1 files changed, 8 insertions, 4 deletions
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 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/close.sgml,v 1.14 2003/04/15 13:25:08 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/close.sgml,v 1.15 2003/08/17 04:46:00 momjian Exp $ PostgreSQL documentation --> @@ -31,9 +31,13 @@ CLOSE <replaceable class="PARAMETER">cursor</replaceable> </para> <para> - Every open cursor is implicitly closed when a transaction is - terminated by <command>COMMIT</command> or - <command>ROLLBACK</command>. + Every non-holdable open cursor is implicitly closed when a + transaction is terminated by <command>COMMIT</command> or + <command>ROLLBACK</command>. Holdable cursors are implicitely + closed if the transaction that created them aborts via + <command>ROLLBACK</command>; if this does not happen, the holdable + cursor remains open until an explicit <command>CLOSE</command> is + executed, or the client disconnects. </para> </refsect1> |