diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-28 22:02:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-28 22:02:06 +0000 |
commit | e3e3d2a789e34ff6572bdf693beb1516a228c5ff (patch) | |
tree | c5c95ccfe1f4cc79e49c572b13681f628a212fe9 /doc/src | |
parent | a80a12247a99f0bccf47bed5786f28a35fc80845 (diff) | |
download | postgresql-e3e3d2a789e34ff6572bdf693beb1516a228c5ff.tar.gz postgresql-e3e3d2a789e34ff6572bdf693beb1516a228c5ff.zip |
Extend ExecMakeFunctionResult() to support set-returning functions that return
via a tuplestore instead of value-per-call. Refactor a few things to reduce
ensuing code duplication with nodeFunctionscan.c. This represents the
reasonably noncontroversial part of my proposed patch to switch SQL functions
over to returning tuplestores. For the moment, SQL functions still do things
the old way. However, this change enables PL SRFs to be called in targetlists
(observe changes in plperl regression results).
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 6b8c6c832c1..2a0894bbf27 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.134 2008/09/24 19:51:22 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.135 2008/10/28 22:02:05 tgl Exp $ --> <chapter id="plpgsql"> <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title> @@ -1575,10 +1575,6 @@ LANGUAGE 'plpgsql' ; SELECT * FROM getallfoo(); </programlisting> - - Note that functions using <command>RETURN NEXT</command> or - <command>RETURN QUERY</command> must be called as a table source in - a <literal>FROM</literal> clause. </para> <note> |