RETURN NEXT doc improvement, per Alvaro.
authorBruce Momjian <bruce@momjian.us>
Wed, 28 Nov 2007 21:47:39 +0000 (21:47 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 28 Nov 2007 21:47:39 +0000 (21:47 +0000)
doc/src/sgml/plpgsql.sgml

index 5d787276d48e113c37982d7dad9aa2775c667802..2555a2d7b2008f1a115ed9d115fb097148a1d846 100644 (file)
     </para>
 
     <para>
-     <application>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
-     <command>RETURN NEXT</> for each desired element of the result set,
-     or by using <command>RETURN QUERY</> to output the result of
+     <application>PL/pgSQL</> functions can also be declared to return
+     a <quote>set</> (or table) of any data type that can be returned as
+     a single instance.  Such a function generates its output by executing
+     <command>RETURN NEXT</> for each desired element of the result
+     set, or by using <command>RETURN QUERY</> to output the result of
      evaluating a query.
     </para>