Re: PL/Perl Does not Like vstrings

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Perl Does not Like vstrings
Date: 2012-01-05 17:53:40
Message-ID: F026D4D1-56B0-4F6C-AAC1-3B803612A7C6@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jan 5, 2012, at 9:50 AM, Andrew Dunstan wrote:

> The fix that has been applied, as Tom suggested, is at the point where we call SvPVutf8(), so that's not just for elog().

Great, thanks.

> As documented, it's not a scalar, and you need to stop treating it as one. If you want it as a scalar, which is what you'd need here, enclose it in quotes, or use the stuff shown in perldoc perlvar.

Oh, right $^V is a version object.

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-01-05 17:55:15 Re: PL/Perl Does not Like vstrings
Previous Message David E. Wheeler 2012-01-05 17:51:19 Re: PL/Perl Does not Like vstrings