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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Simplify ExecutorRun's API and save some trivial number of cycles
Date: 2008-10-31 21:07:55
Message-ID: 20081031210755.39CAE7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2008-11-01 08:55:21 pgsql: Do not eat memory even in case of an out-of-memory error.
Previous Message Simon Riggs 2008-10-31 20:37:40 Re: pgsql: Unite ReadBufferWithFork, ReadBufferWithStrategy, and