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...
pl_exec.c (r1.126 -> r1.127)
pgsql-committers by date
|Next:||From: Bruce Momjian||Date: 2005-01-14 00:26:35|
|Subject: pgsql: Change Win32 client configuration files from *.txt to *.conf.|
|Previous:||From: Tom Lane||Date: 2005-01-13 22:55:56|
|Subject: Re: pgsql: get_names_for_var didn't do recursion for |