pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pginfo <pginfo@t1.unisoftbg.com>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: 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:01:58 +0100
Message-ID: <3DD625A5.32B5B4E4@t1.unisoftbg.com> (raw)
References: <018e01c28d61$cd345be0$a07ba8c0@wxp>
	<3DD6326C.8050503@klaster.net>

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






view thread (3+ messages)  latest in thread

Message-ID: <3DD625A5.32B5B4E4@t1.unisoftbg.com>
Permalink:  ../3DD625A5.32B5B4E4@t1.unisoftbg.com/
Also on:    postgresql.org/message-id/3DD625A5.32B5B4E4@t1.unisoftbg.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: pginfo@t1.unisoftbg.com, jasiek@klaster.net, berger1517@gmx.ch
  Subject: Re: Chaning locale sorting order for statements
  In-Reply-To: <3DD625A5.32B5B4E4@t1.unisoftbg.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