Re: plperl and inline functions -- first draft

Поиск
Список
Период
Сортировка
От Alexey Klyukin
Тема Re: plperl and inline functions -- first draft
Дата
Msg-id 3E4C20CD-AEE7-4C33-BC07-2F036E0C8ED9@commandprompt.com
обсуждение исходный текст
Ответ на Re: plperl and inline functions -- first draft  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-hackers
On Nov 20, 2009, at 2:04 AM, Joshua Tolley wrote:

> On Wed, Nov 18, 2009 at 12:38:00PM +0200, Alexey Klyukin wrote:
>> Yes, current_call_data can't be allocate in the SPI memory context, since it's used to extract the result after
SPI_finishis called, although it doesn't lead to problems here since no result is returned. Anyway, I'd move
SPI_connectafter the current_call_data initialization. 
>>
>> I also noticed that no error context is set in the inline handler, not sure whether it really useful except for the
sakeof consistency, but in case it is - here is the patch: 
>
> Makes sense on both counts. Thanks for the help. How does the attached look?

These two problems seem to be fixed now, thank you.

--
Alexey Klyukin                    http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: enable-thread-safety defaults?
Следующее
От: Alexey Klyukin
Дата:
Сообщение: Re: plperl and inline functions -- first draft