Skip site navigation (1) Skip section navigation (2)

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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Work around perl bug in SvPVutf8().
Date: 2012-01-05 22:06:54
Message-ID: 4F061EFE.1070203@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

In response to

Responses

pgsql-hackers by date

Next:From: Greg SmithDate: 2012-01-05 22:09:44
Subject: Re: our buffer replacement strategy is kind of lame
Previous:From: David E. WheelerDate: 2012-01-05 21:47:58
Subject: Re: PL/Perl Does not Like vstrings

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-01-05 22:30:09
Subject: Re: [COMMITTERS] pgsql: Work around perl bug in SvPVutf8().
Previous:From: Peter EisentrautDate: 2012-01-05 19:14:21
Subject: pgsql: pg_dump: Dump foreign options in prettier format

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group