pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: JBJ <postgre@totw.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: once again, sorting with Unicode
Date: Wed, 19 Feb 2003 10:22:37 -0500
Message-ID: <11412.1045668157@sss.pgh.pa.us> (raw)
In-Reply-To: <5.1.0.14.0.20030218224724.02705ff8@localhost>
References: <5.1.0.14.0.20030218224724.02705ff8@localhost>

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



view thread (8+ messages)  latest in thread

Message-ID: <11412.1045668157@sss.pgh.pa.us>
Permalink:  ../11412.1045668157@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11412.1045668157@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, postgre@totw.org
  Subject: Re: once again, sorting with Unicode
  In-Reply-To: <11412.1045668157@sss.pgh.pa.us>

* 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