Re: plperl and inline functions -- first draft
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Joshua Tolley <eggyknap@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2009-11-06T23:37:38Z
Lists: pgsql-hackers
Attachments
- plperl-inline.patch (text/x-patch) patch
I wrote: > > Ok, I have a handle on the trusted/nontrusted issue. But I think the > piece that's missing here is that it needs to save the calling context > etc. and use PG_TRY() and friends, just like plperl_call_handler(). > I'll work on that. > > OK, I committed the previously discussed change to store the language trusted flag in the InlineCodeBlock structure. Following that, here is my reworking of Josh's patch for DO blocks for plperl. Missing are docs and regression tests. cheers andrew