Thread: pgsql: Fix oversight in my recent patch to allow ExecMakeFunctionResult

pgsql: Fix oversight in my recent patch to allow ExecMakeFunctionResult

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix oversight in my recent patch to allow ExecMakeFunctionResult to handle
materialize-mode set results.  Since it now uses the ReturnSetInfo node
to hold internal state, we need to be sure to set up the node even when
the immediately called function doesn't return set (but does have a set-valued
argument).  Per report from Anupama Aherrao.

Modified Files:
--------------
    pgsql/src/backend/executor:
        execQual.c (r1.237 -> r1.238)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execQual.c?r1=1.237&r2=1.238)