diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-04-09 03:08:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-04-09 03:08:25 +0000 |
commit | 0325149a53d557790813a2a710b9e4e7869cfc68 (patch) | |
tree | 58d4674c0fd17ee31bd2993ba5a4eafd465cefc7 /doc/src | |
parent | 0a3ccafffe22992ddc399a29683e6d6a5edeb7a9 (diff) | |
download | postgresql-0325149a53d557790813a2a710b9e4e7869cfc68.tar.gz postgresql-0325149a53d557790813a2a710b9e4e7869cfc68.zip |
More cleanups of cursor text.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/plsql.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/plsql.sgml b/doc/src/sgml/plsql.sgml index a952ebbb1f4..aa643a26b24 100644 --- a/doc/src/sgml/plsql.sgml +++ b/doc/src/sgml/plsql.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.56 2002/04/09 02:43:25 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.57 2002/04/09 03:08:25 momjian Exp $ --> <chapter id="plpgsql"> @@ -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. </para> <sect2 id="plpgsql-cursor-declarations"> @@ -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; </programlisting> </para> |