Re: plperlu problem with utf8 - Mailing list pgsql-hackers

From Alex Hunsaker
Subject Re: plperlu problem with utf8
Date
Msg-id AANLkTineVH=mX-H4_8nJSjZxssaWiZR4KCQwj9kKoRG6@mail.gmail.com
Whole thread Raw
In response to Re: plperlu problem with utf8  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: plperlu problem with utf8
plperlu problem with utf8 [REVIEW]
List pgsql-hackers
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.

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: strncmp->memcmp when we know the shorter length
Next
From: Jesper Krogh
Date:
Subject: Re: The cost of visibillity testing? (gin-search)