Re: PL/Perl Does not Like vstrings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: PL/Perl Does not Like vstrings
Дата
Msg-id 4F05D8F9.3010909@dunslane.net
обсуждение исходный текст
Ответ на Re: PL/Perl Does not Like vstrings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PL/Perl Does not Like vstrings  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers

On 01/05/2012 10:34 AM, Tom Lane wrote:
>
> Unconditional sv_mortalcopy sounds like the thing to do then, but a
> comment would help.  And if this isn't a Perl bug, I would like to
> know what is.

Indeed. David, can you file a bug on this?

>
> BTW, shouldn't we be making some attempt to drop the result of the
> sv_mortalcopy?  Or is it just assumed that it will be garbage-collected
> before the memory leak gets too bad?
>
>             


Yes, it will be garbage collected before long. See discussion in perldoc 
perlguts.

cheers

andrew


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Client Messages
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: PL/Perl Does not Like vstrings