Re: once again, sorting with Unicode

Поиск
Список
Период
Сортировка
От Troy
Тема Re: once again, sorting with Unicode
Дата
Msg-id 200302192016.h1JKGSEU014871@tksoft.com
обсуждение исходный текст
Ответ на Re: once again, sorting with Unicode  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: once again, sorting with Unicode  (JBJ <postgre@totw.org>)
Список pgsql-sql
You can generate indexes for your custom functions, though,
which will speed things up. This is what I've done, successfully.



Troy



> 
> JBJ <postgre@totw.org> writes:
> > Furthermore I will have to be able to switch between is_IS and others to 
> > get the correct sort order ( russian sort order different from icelandic 
> > for example, simply due to the nature of the letters) live when the user 
> > selects a different language.
> 
> Postgres can't do that at the moment :-(.  You might be able to hack up
> some custom functions to do something like
>     ORDER BY icelandic(text_col)
> but it'll be messy, and probably slow.
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: simple join problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: simple join problem