Re: invalid UTF-8 via pl/perl

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hannu Krosing <hannu@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2010-03-09T02:52:57Z
Lists: pgsql-hackers

Tom Lane wrote:
> Hannu Krosing <hannu@2ndquadrant.com> writes:
>   
>> So SPI interface should also be fixed, either from perl side, or maybe
>> from inside SPI ?
>>     
>
> SPI has every right to assume that data it's given is already in the
> database encoding.
>
> 			
>   

Yeah, looks like we missed a few spots. I have added three more checks 
that I think plug the remaining holes in plperl.

Hannu, please test again against CVS HEAD.

cheers

andrew