Re: Initial refactoring of plperl.c - rebased [PATCH]

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Initial refactoring of plperl.c - rebased [PATCH]
Дата
Msg-id 4B34FC45.3000208@dunslane.net
обсуждение исходный текст
Ответ на Initial refactoring of plperl.c - rebased [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
Ответы Re: Initial refactoring of plperl.c - rebased [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
Список pgsql-hackers

Tim Bunce wrote:
> I've attached an update of my previous refactoring of plperl.c.
> It's been rebased over the current (git) HEAD and has a few
> very minor additions.
>
>   
[snip]
> + -- Test compilation of unicode regex
> + --
> + CREATE OR REPLACE FUNCTION perl_unicode_regex(text) RETURNS INTEGER AS $$
> + # see http://rt.perl.org/rt3/Ticket/Display.html?id=47576
> + return ($_[0] =~ /\x{263A}|happy/i) ? 1 : 0; # unicode smiley
> + $$ LANGUAGE plperl;
>   


This test is failing on my setup at least when the target db is not UTF8 
encoded.

Maybe that's a bug we need to fix?

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: info about patch: using parametrised query in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PQescapeByteaConn and the new hex encoding