Re: invalid UTF-8 via pl/perl - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: invalid UTF-8 via pl/perl
Date
Msg-id 4B95B809.7000407@dunslane.net
Whole thread Raw
In response to Re: invalid UTF-8 via pl/perl  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: invalid UTF-8 via pl/perl
List 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


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: lock mode for ControlFileLock which pg_start_backup uses
Next
From: Takahiro Itagaki
Date:
Subject: Re: lock mode for ControlFileLock which pg_start_backup uses