Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> The attached tiny patch will fix the problem Greg Sabino Mullane had
> with a shared lexical $_TD, by making it a global and just pushing a
> local value in the trigger function.
> ...
> I don't think a docs change is needed.
Are you sure this doesn't cause any user-visible semantics change
(ie, something that might break someone's code)?
regards, tom lane