Re: plperl and inline functions -- first draft

Поиск
Список
Период
Сортировка
От Alexey Klyukin
Тема Re: plperl and inline functions -- first draft
Дата
Msg-id ED9C64F7-3263-4103-8DB9-0C25136B9EC3@commandprompt.com
обсуждение исходный текст
Ответ на Re: plperl and inline functions -- first draft  (Tim Bunce <Tim.Bunce@pobox.com>)
Ответы Re: plperl and inline functions -- first draft
Список pgsql-hackers
On Nov 20, 2009, at 3:50 PM, Tim Bunce wrote:

>
> When does the reference held by desc.reference get freed?
> At the moment it looks like this would leak memory for each DO.

Isn't it also the case with the existing plperl code ? I've noticed that free(prodesc) is called when it's no longer
used(i.e. in plperl_compile_callback:1636), but refcount of desc->reference is never decremented. 

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



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

Предыдущее
От: Alexey Klyukin
Дата:
Сообщение: Re: plperl and inline functions -- first draft
Следующее
От: Emmanuel Cecchet
Дата:
Сообщение: Re: Union test case broken in make check?