pgsql: Simplify ExecutorRun's API and save some trivial number of cycles - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Simplify ExecutorRun's API and save some trivial number of cycles
Date
Msg-id 20081031210755.39CAE7545A4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: Unite ReadBufferWithFork, ReadBufferWithStrategy, and
Next
From: meskes@postgresql.org (Michael Meskes)
Date:
Subject: pgsql: Do not eat memory even in case of an out-of-memory error.