From 5cbf206c79fc8670b53a0032efd3dda45bddbda4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 28 Nov 2007 20:56:35 +0000 Subject: [PATCH] Update RETURN NEXT documentation for plpgsql. --- doc/src/sgml/plpgsql.sgml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 4acac7366d..7944926eff 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,4 +1,4 @@ - + <application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language @@ -132,10 +132,11 @@ - PL/pgSQL functions can also be declared to return - a set, or table. Such a function generates its output by - executing RETURN NEXT for each desired element of the result - set, or by using RETURN QUERY to output the result of + 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 + RETURN NEXT for each desired element of the result set, + or by using RETURN QUERY to output the result of evaluating a query. -- 2.40.0