Thread: pgsql: Simplify ExecutorRun's API and save some trivial number of cycles

pgsql: Simplify ExecutorRun's API and save some trivial number of cycles

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Simplify ExecutorRun's API and save some trivial number of cycles by having
it just return void instead of sometimes returning a TupleTableSlot.  SQL
functions don't need that anymore, and noplace else does either.  Eliminating
the return value also means one less hassle for the ExecutorRun hook functions
that will be supported beginning in 8.4.

Modified Files:
--------------
    pgsql/src/backend/executor:
        execMain.c (r1.313 -> r1.314)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.313&r2=1.314)
        functions.c (r1.127 -> r1.128)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/functions.c?r1=1.127&r2=1.128)
    pgsql/src/include/executor:
        executor.h (r1.151 -> r1.152)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h?r1=1.151&r2=1.152)