From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Set up PLPerl trigger data using C code instead of Perl code. |
Date: | 2011-02-01 15:07:45 |
Message-ID: | E1PkHpZ-0008Sn-QT@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Set up PLPerl trigger data using C code instead of Perl code.
This is an efficiency change, and means we now no longer have to run
"out $_TD; local $_TD = shift;", which was especially pointless in the case of
non-trigger functions where the passed value was always undef anyway.
A tiny open issue is whether we should get rid of the $prolog argument of
mkfunc, and the corresponding pushed value, which is now just a constant "false".
Tim Bunce, reviewed by Alex Hunsaker.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=ef19dc6d39dd2490ff61489da55d95d6941140bf
Modified Files
--------------
src/pl/plperl/plperl.c | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2011-02-01 17:23:12 | pgsql: Add pg_upgrade comment for why we can't use template1 inheritanc |
Previous Message | Magnus Hagander | 2011-02-01 12:29:31 | pgsql: Undefine setlocale() macro on Win32 |