From 664782ee74ce5c02a35f22543451f957a84f043c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 28 Nov 2007 21:47:39 +0000 Subject: [PATCH] RETURN NEXT doc improvement, per Alvaro. --- doc/src/sgml/plpgsql.sgml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 7944926eff3..027d0eb7ec1 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,11 +132,11 @@ - 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 + PL/pgSQL functions can also be declared to return + a set (or table) of any data type that can be returned as + a single instance. 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.