Re: sorting in UNICODE table

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: sorting in UNICODE table
Дата
Msg-id 20000825100727P.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на sorting in UNICODE table  (Alex Guryanow <gav@nlr.ru>)
Список pgsql-general
> I'm use postgresql-7.0.2. It's compiled with unicode support
> (./configure --enable-multibyte=UNICODE ...)
> I have a table which contains both latin and non-latin letters. All they are in UTF-8 encoding. When
> I try to sort the rows
>
> ( SELECT * FROM my_table ORDER BY sort_field )
>
> I receive strange error: the rows that begin with ascii symbols are ordered while all other - are not!

I guess this is because UTF-8 strings are sorted in the order of the
physical representation. Can you show me sample data and its desired
order?

--
Tatsuo Ishii


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

Предыдущее
От: Peter Haight
Дата:
Сообщение: Re: Large object insert performance.
Следующее
От: "Jackson Ching"
Дата:
Сообщение: Getting the result of a query using COUNT(*)