Re: Chaning locale sorting order for statements

From: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
To: Tomasz Myrta <jasiek(at)klaster(dot)net>
Cc: Albrecht Berger <berger1517(at)gmx(dot)ch>, pgsql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Chaning locale sorting order for statements
Date: 2002-11-16 11:01:58
Message-ID: 3DD625A5.32B5B4E4@t1.unisoftbg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I am not sure about comparation performance.
I have big problems with sort performance in pg by comparing varchar.
Also I am not sure if it is possible to get this new funktion to replace the
standart sort.

regards,
Ivan.

Tomasz Myrta wrote:

> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Evgen Potemkin 2002-11-16 11:30:41 Re: Proposal of hierarchical queries, a la Oracle
Previous Message Albrecht Berger 2002-11-16 10:51:28 Chaning locale sorting order for statements