Skip to content

Commit 664782e

Browse files
committed
RETURN NEXT doc improvement, per Alvaro.
1 parent 5cbf206 commit 664782e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/plpgsql.sgml

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

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

134134
<para>
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
135+
<application>PL/pgSQL</> functions can also be declared to return
136+
a <quote>set</> (or table) of any data type that can be returned as
137+
a single instance. Such a function generates its output by executing
138+
<command>RETURN NEXT</> for each desired element of the result
139+
set, or by using <command>RETURN QUERY</> to output the result of
140140
evaluating a query.
141141
</para>
142142

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy