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

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Simplify ExecutorRun's API and save some trivial number of cycles
Дата
Msg-id 20081031210755.39CAE7545A4@cvs.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Unite ReadBufferWithFork, ReadBufferWithStrategy, and
Следующее
От: meskes@postgresql.org (Michael Meskes)
Дата:
Сообщение: pgsql: Do not eat memory even in case of an out-of-memory error.