diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-13 23:07:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-13 23:07:34 +0000 |
commit | 2730eb9ae4f9483a18cbc6168c651318b717c37f (patch) | |
tree | aec06bc217d9acf7d03e581443c1d6f6e544ec5d /src/tutorial/funcs.source | |
parent | 66d8165a8bd63ae30d9a35f33f1c5100b979cd26 (diff) | |
download | postgresql-2730eb9ae4f9483a18cbc6168c651318b717c37f.tar.gz postgresql-2730eb9ae4f9483a18cbc6168c651318b717c37f.zip |
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...
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions