aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-11-28 20:56:35 +0000
committerBruce Momjian <bruce@momjian.us>2007-11-28 20:56:35 +0000
commit5cbf206c79fc8670b53a0032efd3dda45bddbda4 (patch)
tree041ab2f6fb9f5923cf3829542a86aa8e9f4a4e84
parent03ffc4d6d5440dc7694b476854d1c63dd7dd1d6b (diff)
downloadpostgresql-5cbf206c79fc8670b53a0032efd3dda45bddbda4.tar.gz
postgresql-5cbf206c79fc8670b53a0032efd3dda45bddbda4.zip
Update RETURN NEXT documentation for plpgsql.
-rw-r--r--doc/src/sgml/plpgsql.sgml11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 4acac7366d9..7944926eff3 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.119 2007/11/28 20:13:06 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.120 2007/11/28 20:56:35 momjian Exp $ -->
<chapter id="plpgsql">
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -132,10 +132,11 @@
</para>
<para>
- <application>PL/pgSQL</> functions can also be declared to return
- a <quote>set</>, or table. Such a function generates its output by
- executing <command>RETURN NEXT</> for each desired element of the result
- set, or by using <command>RETURN QUERY</> to output the result of
+ <application>PL/pgSQL</> functions can also be declared to return a
+ group of values, either as a single row, or a group of rows, like a
+ table. Such a function generates its output by executing
+ <command>RETURN NEXT</> for each desired element of the result set,
+ or by using <command>RETURN QUERY</> to output the result of
evaluating a query.
</para>