pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Troy <tjk@tksoft.com>
To: tgl@sss.pgh.pa.us
Cc: postgre@totw.org
Cc: pgsql-sql@postgresql.org
Subject: Re: once again, sorting with Unicode
Date: Wed, 19 Feb 2003 12:16:28 -0800 (PST)
Message-ID: <200302192016.h1JKGSEU014871@tksoft.com> (raw)
In-Reply-To: <11412.1045668157@sss.pgh.pa.us>

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)
> 




view thread (8+ messages)  latest in thread

Message-ID: <200302192016.h1JKGSEU014871@tksoft.com>
Permalink:  ../200302192016.h1JKGSEU014871@tksoft.com/
Also on:    postgresql.org/message-id/200302192016.h1JKGSEU014871@tksoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tjk@tksoft.com, tgl@sss.pgh.pa.us, postgre@totw.org
  Subject: Re: once again, sorting with Unicode
  In-Reply-To: <200302192016.h1JKGSEU014871@tksoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox