Change exec_eval_simple_expr's param list allocation call from
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Jan 2005 23:07:34 +0000 (23:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Jan 2005 23:07:34 +0000 (23:07 +0000)
commit2730eb9ae4f9483a18cbc6168c651318b717c37f
treeaec06bc217d9acf7d03e581443c1d6f6e544ec5d
parent66d8165a8bd63ae30d9a35f33f1c5100b979cd26
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...
src/pl/plpgsql/src/pl_exec.c