Re: plperl and inline functions -- first draft - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: plperl and inline functions -- first draft
Date
Msg-id 4AF474A3.9030502@dunslane.net
Whole thread Raw
In response to Re: plperl and inline functions -- first draft  (Joshua Tolley <eggyknap@gmail.com>)
Responses Re: plperl and inline functions -- first draft
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: operator exclusion constraints
Next
From: Jeff Davis
Date:
Subject: Re: operator exclusion constraints