Re: Re: [HACKERS] [GENERAL] plperl and regexps with accented characters - incompatible?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Sabino Mullane <greg(at)turnstep(dot)com>, hubert depesz lubaczewski <depesz(at)depesz(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: [HACKERS] [GENERAL] plperl and regexps with accented characters - incompatible?
Date: 2007-11-29 14:14:20
Message-ID: 474EC93C.8060006@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>> + * Fill in just enough information to set up this perl
>> + * function in the safe container and call it.
>> + * For some reason not entirely clear, it prevents errors that
>> + * can arise from the regex code later trying to load
>> + * utf8 modules.
>>
>
> How many versions of Perl have you tried this against?
>
>
>

Only one :-( I don't have a farm of perl versions hanging round. That's
one of the reasons I asked that people test it.

The version I tested against is 5.8.8 - the latest stable release. The
5.8 series started in 2003 from what I can see - if anyone has a
sufficiently old system that they can test on 5.6.2 that will be useful.
I spent an hour wrestling unsuccessfully with it this morning but I
don't have more time to spend on it. Systems older than 5.6 don't
matter, as we don't do any UTF8 mangling on those.

cheers

andrew

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo De León 2007-11-29 14:19:51 Re: Declaring multidimensional arrays in pl/pgsql
Previous Message Glyn Astill 2007-11-29 14:12:04 Slony-I creation scripts not available

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-11-29 14:34:57 Re: convert int to bytea
Previous Message NikhilS 2007-11-29 13:51:16 Re: [pgsql-www] Time to update list of contributors

Browse pgsql-patches by date

  From Date Subject
Next Message NikhilS 2007-11-29 15:05:07 Re: [DOCS] Partition: use triggers instead of rules
Previous Message hubert depesz lubaczewski 2007-11-29 12:17:04 Re: [HACKERS] [GENERAL] plperl and regexps with accented characters - incompatible?