Re: PL/Perl Does not Like vstrings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: PL/Perl Does not Like vstrings
Дата
Msg-id 4F04D727.5090604@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/04/2012 05:05 PM, Tom Lane wrote:
>
>> Well, the crash is apparently solved by the following, which your
>> investigation suggested to me:
>> -       cmsg = sv2cstr(msg);
>> +       cmsg = sv2cstr(newSVsv(msg));
> That's kinda grotty ... and leaky ...
>

Of course it is. It wasn't meant as a solution but as validation of your 
suspicions about the nature of the problem. (The leakiness could be 
solved, though.)

cheers

andrew


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_restore direct to database is broken for --insert dumps
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: CLOG contention