Excerpts from Alex Hunsaker's message of mié may 04 23:53:34 -0300 2011:
> After playing with it a bit more I see 2 clear options:
> 1) make $_TD global like %_SHARED. This should not cause any problems
> as we make $_TD private via local() before each trigger call. Also pre
> 9.1 non trigger functions could still access and check the definedness
> of $_TD so if someone was relying on that (for whatever unknown
> reason) that will work again.
This is strange. Are you saying that there's no decent way to make a
variable global in C code? (In other words, the Perl code to create the
global var is indecently implemented)
--
Ãlvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support