From e3e3d2a789e34ff6572bdf693beb1516a228c5ff Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 28 Oct 2008 22:02:06 +0000 Subject: 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). --- doc/src/sgml/plpgsql.sgml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'doc/src') 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 @@ - + <application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language @@ -1575,10 +1575,6 @@ LANGUAGE 'plpgsql' ; SELECT * FROM getallfoo(); - - Note that functions using RETURN NEXT or - RETURN QUERY must be called as a table source in - a FROM clause. -- cgit v1.2.3