BUG #1069: functions "lower()" and "upper()" not characterset-aware

Поиск
Список
Период
Сортировка
От PostgreSQL Bugs List
Тема BUG #1069: functions "lower()" and "upper()" not characterset-aware
Дата
Msg-id 20040128103024.90BDCCF4A9E@www.postgresql.com
обсуждение исходный текст
Ответы Re: BUG #1069: functions "lower()" and "upper()" not characterset-aware
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1069
Logged by:          Interzone

Email address:      info@interzone.gr

PostgreSQL version: 7.4

Operating system:   Linux 2.4.24

Description:        functions "lower()" and "upper()" not characterset-aware

Details:

the functions "lower()" and "upper()" do not seem to work correctly with
ISO_8859_7 values

Test case:
CREATE DATABASE mediagrk WITH TEMPLATE = template0 ENCODING = 'ISO_8859_7';
CREATE TABLE test1 (
   code serial NOT NULL,
   compname character varying(100) NOT NULL
);
INSERT INTO test1 VALUES (1, 'ÅËËÇÍÉÊÁ');
SELECT lower(compname) from test1;

if there is a problem (there might be) with the greek characters above, just
remember that this is a iso-8859-7 encoded text (and I changed the encoding
of the form-page to iso-8859-7 before sending).

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PgSQL Down
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1069: functions "lower()" and "upper()" not characterset-aware