|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.120 2007/11/2820:56:35 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.121 2007/11/2821:47:39 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="plpgsql">
|
4 | 4 | <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
|
|
132 | 132 | </para>
|
133 | 133 |
|
134 | 134 | <para>
|
135 |
| - <application>PL/pgSQL</> functions can also be declared to return a |
136 |
| -group of values, either as a single row, or a group of rows, like a |
137 |
| -table. Such a function generates its output by executing |
138 |
| - <command>RETURN NEXT</> for each desired element of the result set, |
139 |
| - or by using <command>RETURN QUERY</> to output the result of |
| 135 | + <application>PL/pgSQL</> functions can also be declared to return |
| 136 | +a <quote>set</> (or table) of any data type that can be returned as |
| 137 | +a single instance. Such a function generates its output by executing |
| 138 | + <command>RETURN NEXT</> for each desired element of the result |
| 139 | +set,or by using <command>RETURN QUERY</> to output the result of |
140 | 140 | evaluating a query.
|
141 | 141 | </para>
|
142 | 142 |
|
|