Thread: pgsql: Keep plperl's current_call_data record on the stack, instead of

pgsql: Keep plperl's current_call_data record on the stack, instead of

From
Tom Lane
Date:
Keep plperl's current_call_data record on the stack, instead of palloc'ing.

This at least saves some palloc overhead, and should furthermore reduce
the risk of anything going wrong, eg somebody resetting the context the
current_call_data record was in.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9afc6481117d2dd936e752da0424a2b6b05f6459

Modified Files
--------------
src/pl/plperl/plperl.c |   42 +++++++++++++++++++-----------------------
1 files changed, 19 insertions(+), 23 deletions(-)