Locale bug?

From: Sergey Suleymanov <solt(at)eatpbank(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: Locale bug?
Date: 2003-10-09 09:07:39
Message-ID: 87ismyeq3o.fsf@boo.eatpbank.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Here is a simplificated example:

CREATE OR REPLACE FUNCTION ttt () RETURNS text AS '
return "";
' LANGUAGE 'plperlu';

CREATE OR REPLACE FUNCTION qqq () RETURNS text as '
DECLARE
v_text text;
v_text2 text;
BEGIN
v_text := upper(''до''); -- cyrillic chars
v_text2 := ttt();
RETURN v_text || upper(''после''); -- cyrillic chars
END;
' LANGUAGE 'plpgsql';

and qqq() returns "ДОпосле". That is upper() doesn't work correctly
after plperlu function call.

--
Sergey Suleymanov

Responses

Browse pgsql-general by date

  From Date Subject
Next Message D. Stimits 2003-10-09 09:37:39 Re: PL/PGSQL for permutations?
Previous Message sibusiso xolo 2003-10-09 09:03:01 help with large objects in 7.3.4