pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Simon Moses <ks_moses@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: order by problem
Date: Thu, 02 Dec 2004 08:18:03 +0100
Message-ID: <41AEC1AB.8030200@klaster.net> (raw)
In-Reply-To: <20041201061449.42895.qmail@web14928.mail.yahoo.com>
References: <20041201061449.42895.qmail@web14928.mail.yahoo.com>


>dear sir,
>when i run a query with order by customer_name i am
>getting the following result(ex.).
>
>AA
>A B
>AC
>
>i want it to be
>
>A B
>AA
>AB
>  
>
It's because of locales. Some special characteres are removed when 
sorting using locales. I'm not sure, but probably only "C" locale will 
give results you need.

Regards,
Tomasz Myrta



view thread (3+ messages)  latest in thread

Message-ID: <41AEC1AB.8030200@klaster.net>
Permalink:  ../41AEC1AB.8030200@klaster.net/
Also on:    postgresql.org/message-id/41AEC1AB.8030200@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, ks_moses@yahoo.com
  Subject: Re: order by problem
  In-Reply-To: <41AEC1AB.8030200@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