Re: once again, sorting with Unicode

From: "Troy" <tjk(at)tksoft(dot)com>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: postgre(at)totw(dot)org (JBJ), pgsql-sql(at)postgresql(dot)org
Subject: Re: once again, sorting with Unicode
Date: 2003-02-19 20:16:28
Message-ID: 200302192016.h1JKGSEU014871@tksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)totw(dot)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(at)postgresql(dot)org)
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2003-02-19 20:25:23 Re: simple join problem
Previous Message Richard Huxton 2003-02-19 20:08:00 Re: simple join problem