Re: invalid UTF-8 via pl/perl

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hannu Krosing <hannu(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: invalid UTF-8 via pl/perl
Date: 2010-03-09 02:52:57
Message-ID: 4B95B809.7000407@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Hannu Krosing <hannu(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-03-09 07:47:21 Re: lock mode for ControlFileLock which pg_start_backup uses
Previous Message Fujii Masao 2010-03-09 01:33:42 lock mode for ControlFileLock which pg_start_backup uses