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.