Re: PL/Perl Does not Like vstrings - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: PL/Perl Does not Like vstrings
Date
Msg-id FC77D97F-4F46-4156-B54F-9315363202B2@justatheory.com
Whole thread Raw
In response to Re: PL/Perl Does not Like vstrings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Jan 4, 2012, at 8:15 AM, Tom Lane wrote:

> Isn't this a Perl bug?  It seems to be crashing in SvPVutf8, which
> means that either Perl passed something that's not an SV to a function
> declared to accept SVs, or that SvPVutf8 fails on some SVs.  Either
> way, Perl is failing to satisfy the POLA if you ask me.

Possibly, though I know nothing of Perl’s internals. Someone able to come up with a simple test case?

Thanks,

David



pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: PL/Perl Does not Like vstrings
Next
From: Andrew Dunstan
Date:
Subject: Re: PL/Perl Does not Like vstrings