Re: [COMMITTERS] pgsql: Work around perl bug in SvPVutf8().

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [COMMITTERS] pgsql: Work around perl bug in SvPVutf8().
Дата
Msg-id 4F061EFE.1070203@dunslane.net
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Work around perl bug in SvPVutf8().  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers

On 01/05/2012 12:05 PM, Andrew Dunstan wrote:
> Work around perl bug in SvPVutf8().
>
> Certain things like typeglobs or readonly things like $^V cause
> perl's SvPVutf8() to die nastily and crash the backend. To avoid
> that bug we make a copy of the object, which will subsequently be
> garbage collected.
>
> Back patched to 9.1 where we first started using SvPVutf8().
>
> Per -hackers discussion. Original problem reported by David Wheeler.
>

Ugh. This broke the regression tests. I'll get it fixed.

cheers

andrew


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: PL/Perl Does not Like vstrings
Следующее
От: Greg Smith
Дата:
Сообщение: Re: our buffer replacement strategy is kind of lame