From 21e343da35779c622a71fd798d740c4af1d1d915 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 29 May 2006 13:51:23 +0000 Subject: Make plperl's $_TD trigger data a global rather than a lexical variable, with a fresh local value for each invocation, to avoid unexpected sharing violations. Per recent -hackers discussion. --- doc/src/sgml/plperl.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index 02260d59a7c..94a375587fc 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,4 +1,4 @@ - + PL/Perl - Perl Procedural Language @@ -660,8 +660,9 @@ $$ LANGUAGE plperl; PL/Perl can be used to write trigger functions. In a trigger function, the hash reference $_TD contains information about the - current trigger event. The fields of the $_TD hash - reference are: + current trigger event. $_TD is a global variable, + which gets a separate local value for each invocation of the trigger. + The fields of the $_TD hash reference are: -- cgit v1.2.3