Commit 5cbf206c authored by Bruce Momjian's avatar Bruce Momjian

Update RETURN NEXT documentation for plpgsql.

parent 03ffc4d6
<!-- $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"> <chapter id="plpgsql">
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title> <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
...@@ -132,10 +132,11 @@ ...@@ -132,10 +132,11 @@
</para> </para>
<para> <para>
<application>PL/pgSQL</> functions can also be declared to return <application>PL/pgSQL</> functions can also be declared to return a
a <quote>set</>, or table. Such a function generates its output by group of values, either as a single row, or a group of rows, like a
executing <command>RETURN NEXT</> for each desired element of the result table. Such a function generates its output by executing
set, or by using <command>RETURN QUERY</> to output the result of <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. evaluating a query.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment