Skip to content

Commit 5cbf206

Browse files
committed
Update RETURN NEXT documentation for plpgsql.
1 parent 03ffc4d commit 5cbf206

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.119 2007/11/28 20:13:06 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.120 2007/11/28 20:56:35 momjian Exp $ -->
22

33
<chapter id="plpgsql">
44
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -132,10 +132,11 @@
132132
</para>
133133

134134
<para>
135-
<application>PL/pgSQL</> functions can also be declared to return
136-
a <quote>set</>, or table. Such a function generates its output by
137-
executing <command>RETURN NEXT</> for each desired element of the result
138-
set, or by using <command>RETURN QUERY</> to output the result of
135+
<application>PL/pgSQL</> functions can also be declared to return a
136+
group of values, either as a single row, or a group of rows, like a
137+
table. Such a function generates its output by executing
138+
<command>RETURN NEXT</> for each desired element of the result set,
139+
or by using <command>RETURN QUERY</> to output the result of
139140
evaluating a query.
140141
</para>
141142

0 commit comments

Comments
 (0)