lower function - Mailing list pgsql-general

From Mage
Subject lower function
Date
Msg-id 425413C2.5020000@mage.hu
Whole thread Raw
Responses Re: lower function  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-general
       Hello,


I have a database with encoding latin2, ctype hu_HU, posgresql 8.0.1.
Keyword split is a plperl function:

create or replace function keywords_split(text) returns text as $$
  my $text = lc $_[0];
    return $text;
$$
language plperl;

My problem is:

$ psql teszt;
Welcome to psql 8.0.1, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

teszt=# select lower('úéöÖÉÁ');
 lower
--------
 úéööéá
(1 row)

teszt=# select keywords_split('AúéöÖÉÁ');
 keywords_split
----------------
 aúéöÖÉÁ
(1 row)

teszt=# select lower('úéöÖÉÁ');
 lower
--------
 úéöÖÉÁ
(1 row)


       Mage



pgsql-general by date:

Previous
From: "Mohan, Ross"
Date:
Subject: Install PG 8.0 on AIX 5.2? Any Veterans?
Next
From: Tom Lane
Date:
Subject: Re: Big trouble with memory !!