Re: Sorting in Unicode not working

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sorting in Unicode not working
Дата
Msg-id 29443.1081743415@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sorting in Unicode not working  (Hitesh Bagadiya <bagadiya@yahoo.com>)
Список pgsql-general
Hitesh Bagadiya <bagadiya@yahoo.com> writes:
> I set the locale to hi_IN during initdb. pg_controldata and show
> lc_collate both show that locale is hi_IN. But postgresql is not
> returning sorted records.

There's still the other point about whether the database's character
set encoding matches what the locale setting requires.

For that matter, are you certain the locale itself works?  Have you
checked that sort(1) produces the sort order you are expecting when
LC_ALL=hi_IN?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: REINDEX slow?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error in function to pg_dump: Standard in must be a tty