Re: plperlu problem with utf8

Alex Hunsaker <badalex@gmail.com>

From: Alex Hunsaker <badalex@gmail.com>
To: David Christensen <david@endpoint.com>
Cc: "David E. Wheeler" <david@kineticode.com>, Oleg Bartunov <oleg@sai.msu.su>, Andrew Dunstan <andrew@dunslane.net>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-22T04:19:51Z
Lists: pgsql-hackers

Attachments

On Mon, Dec 20, 2010 at 00:39, Alex Hunsaker <badalex@gmail.com> wrote:

> In further review over caffeine this morning I noticed there are a few
> places I missed: plperl_build_tuple_result(), plperl_modify_tuple()
> and Util.XS.

And here is v3, fixes the above and also makes sure to properly
encode/decode SPI arguments.  Tested on a latin1 database with latin1
columns and utf8 with utf8 columns.  Also passes make installcheck (of
course) and changes one or two things to make plperl.c warning free.