pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Albrecht Berger <berger1517@gmx.ch>
Cc: pgsql <pgsql-sql@postgresql.org>
Subject: Re: Chaning locale sorting order for statements
Date: Sat, 16 Nov 2002 12:56:28 +0100
Message-ID: <3DD6326C.8050503@klaster.net> (raw)
References: <018e01c28d61$cd345be0$a07ba8c0@wxp>

Uz.ytkownik Albrecht Berger napisa?:
> In Oracle I would use something like that :
> SELECT * FROM table1
> ORDER BY NLSSORT(column1, 'NLS_SORT=FRENCH');
> 
> Does postgres has something similar ?
I think, you have to create function NLSSORT by your own.
C language would be nice for performance.
It is possible to create operator which compares two strings, but I 
don't know how to tell him what the language is used now.
Regards,
Tomasz Myrta





view thread (3+ messages)

Message-ID: <3DD6326C.8050503@klaster.net>
Permalink:  ../3DD6326C.8050503@klaster.net/
Also on:    postgresql.org/message-id/3DD6326C.8050503@klaster.net

 · 

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: jasiek@klaster.net, berger1517@gmx.ch
  Subject: Re: Chaning locale sorting order for statements
  In-Reply-To: <3DD6326C.8050503@klaster.net>

* 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