From: Bruce Momjian Date: Tue, 9 Apr 2002 03:08:25 +0000 (+0000) Subject: More cleanups of cursor text. X-Git-Tag: REL7_3~1759 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0325149a53d557790813a2a710b9e4e7869cfc68;p=postgresql More cleanups of cursor text. --- diff --git a/doc/src/sgml/plsql.sgml b/doc/src/sgml/plsql.sgml index a952ebbb1f..aa643a26b2 100644 --- a/doc/src/sgml/plsql.sgml +++ b/doc/src/sgml/plsql.sgml @@ -1,5 +1,5 @@ @@ -1449,8 +1449,8 @@ END LOOP; to worry about that, since FOR loops automatically use a cursor internally to avoid memory problems.) A more interesting usage is to return a reference to a cursor that it has created, allowing the - caller to read the rows. This provides one way of returning multiple - rows and columns from a function. + caller to read the rows. This provides a way to return row sets + from functions. @@ -1691,10 +1691,10 @@ SELECT reffunc2(); reffunc2 -------------------- - >unnamed cursor 1< + <unnamed cursor 1> (1 row) -FETCH ALL IN ">unnamed cursor 1<"; +FETCH ALL IN "<unnamed cursor 1>"; COMMIT;