Re: Case sensitive order by

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Deepak Joglekar <deepak(dot)joglekar(at)nebula-soft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Case sensitive order by
Date: 2003-04-11 20:54:12
Message-ID: 13754.1050094452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Deepak Joglekar <deepak(dot)joglekar(at)nebula-soft(dot)com> writes:
> I want to do case sensitve sorting on a varchar field.

> That is I will have strings in the varchar field which will have
> character from ascii(32) to ascii(255). I want sort result by ascii
> values.

If you want a straight-ASCII sort without any funny locale sort rules,
you need to be careful to initdb in C locale.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2003-04-11 21:02:18 Re: pg_dump: NOTICE: ShmemAlloc: out of memory
Previous Message scott.marlowe 2003-04-11 20:53:49 Re: [GENERAL] medical image on postgreSQL?