Skip to content

Commit 62312ce

Browse files
committed
Plpgsql doc cleanup.
Guillaume Lelarge
1 parent 11fccbe commit 62312ce

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 4 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.118 2007/11/28 15:42:31 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.119 2007/11/28 20:13:06 momjian Exp $ -->
22

33
<chapter id="plpgsql">
44
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -133,9 +133,8 @@
133133

134134
<para>
135135
<application>PL/pgSQL</> functions can also be declared to return
136-
a <quote>set</>, or table, of any data type they can return a single
137-
instance of. Such a function generates its output by executing
138-
<command>RETURN NEXT</> for each desired element of the result
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
139138
set, or by using <command>RETURN QUERY</> to output the result of
140139
evaluating a query.
141140
</para>
@@ -1428,7 +1427,7 @@ BEGIN
14281427
WHERE fooid &gt; 0
14291428
LOOP
14301429
-- can do some processing here
1431-
RETURN NEXT r; -- return next row of SELECT
1430+
RETURN NEXT r; -- return current row of SELECT
14321431
END LOOP;
14331432
RETURN;
14341433
END

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