Re: Sorting in Unicode not working

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hitesh(at)shukrasoft(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting in Unicode not working
Date: 2004-04-12 04:16:55
Message-ID: 29443.1081743415@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hitesh Bagadiya <bagadiya(at)yahoo(dot)com> writes:
> I set the locale to hi_IN during initdb. pg_controldata and show
> lc_collate both show that locale is hi_IN. But postgresql is not
> returning sorted records.

There's still the other point about whether the database's character
set encoding matches what the locale setting requires.

For that matter, are you certain the locale itself works? Have you
checked that sort(1) produces the sort order you are expecting when
LC_ALL=hi_IN?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-12 05:27:42 Re: Error in function to pg_dump: Standard in must be a tty
Previous Message Tom Lane 2004-04-12 04:04:22 Re: REINDEX slow?