From: Bruce Momjian Date: Wed, 28 Nov 2007 21:47:39 +0000 (+0000) Subject: RETURN NEXT doc improvement, per Alvaro. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f53baec8106bf2d9d2d17df92867af93d68695e7;p=users%2Fbernd%2Fpostgres.git RETURN NEXT doc improvement, per Alvaro. --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 5d787276d4..2555a2d7b2 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -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.