pgsql: Change exec_eval_simple_expr's param list allocation call from

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Change exec_eval_simple_expr's param list allocation call from
Дата
Msg-id 20050113230802.757893A620A@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Change exec_eval_simple_expr's param list allocation call from
MemoryContextAllocZero back to MemoryContextAlloc, same as it was in 7.4.
The zeroing is unnecessary since all the meaningful fields are filled in
just below.  I had made it do that out of neatnik-ism, but some testing
with an example provided by Pavel Stehule showed that the zeroing was
accounting for about 5% of the runtime in a compute-intensive plpgsql
function.  That seems a bit high of a price for neatnik-ism...

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        pl_exec.c (r1.126 -> r1.127)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.126&r2=1.127)

В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: get_names_for_var didn't do recursion for
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Change Win32 client configuration files from *.txt to *.conf.