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-06T19:10:27Z
Lists: pgsql-hackers
Joshua Tolley wrote: >>> The basics seem to be there, with at least one notable >>> exception, namely that plperl functions can do stuff only plperlu should do. I >>> presume this is because I really don't understand yet how plperl's trusted >>> interpreter initialization works, and have simply copied what looked like >>> important stuff from the original plperl call handler. >>> >>> >> I'll check that out. >> > > > 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. cheers andrew