• Tom Lane's avatar
    Extend ExecMakeFunctionResult() to support set-returning functions that return · e3e3d2a7
    Tom Lane authored
    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).
    e3e3d2a7
plpgsql.sgml 168 KB