Re: [SPAM] [MessageLimit][lowlimit] Re: pl/perl and utf-8 in sql_ascii databases
Alex Hunsaker <badalex@gmail.com>
From: Alex Hunsaker <badalex@gmail.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, cb <cb@df7cb.de>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-12T02:30:45Z
Lists: pgsql-hackers
On Wed, Jul 11, 2012 at 1:42 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote: > >> I have pushed these changes to HEAD, 9.2 and 9.1. Instead of the games >> with plperl_lc_*.out being copied around, I just used the ASCII version >> as plperl_lc_1.out and the UTF8 one as plperl_lc.out. > > ... and this story hasn't ended yet, because one of the new tests is > failing. See here: > > http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=magpie&dt=2012-07-11%2010%3A00%3A04 > [...] > SELECT encode(perl_utf_inout(E'ab\xe5\xb1\xb1cd')::bytea, 'escape') > ! ERROR: character with byte sequence 0xe5 0xb7 0x9d in encoding "UTF8" has no equivalent in encoding "LATIN1" > ! CONTEXT: PL/Perl function "perl_utf_inout" > > > I am not sure what can we do here other than remove this function and > query from the test. Hrm, me neither. I say drop em.