Re: sorting RTL languages.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sorting RTL languages.
Дата
Msg-id 15077.1044219246@sss.pgh.pa.us
обсуждение исходный текст
Ответ на sorting RTL languages.  (Amir Hardon <hardon@actcom.co.il>)
Ответы Re: sorting RTL languages.
Список pgsql-general
Amir Hardon <hardon@actcom.co.il> writes:
> I need to get sorted data from a database I have on postgresql,
> the data is in Hebrew which is written from right to left,
> now when I do a SELECT ... ORDER BY ... I get the information sorted by the
> last letter first.
> Is there anyway to overcome this? other than holding the data reversed?

If your machine has a Hebrew locale setting in which sorting is done
right-to-left, then you could initdb in that locale, and text sorting
would happen according to the locale rules.

If you want only some of your columns to be sorted per Hebraic rules,
I'm afraid we have no good answer at present :-( --- database locale
settings are all-or-nothing, at least as far as sort ordering goes.

            regards, tom lane

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

Предыдущее
От: "Raymond O'Donnell"
Дата:
Сообщение: Re: basic access problem on W2K
Следующее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: basic access problem on W2K