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

2012-01-05 Thread Andrew Dunstan
On 01/05/2012 05:30 PM, Alvaro Herrera wrote: Excerpts from Andrew Dunstan's message of jue ene 05 19:06:54 -0300 2012: 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 n

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

2012-01-05 Thread Alvaro Herrera
Excerpts from Andrew Dunstan's message of jue ene 05 19:06:54 -0300 2012: > > 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. T

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

2012-01-05 Thread Andrew Dunstan
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