Re: Sorting in Unicode not working - Mailing list pgsql-general

From Tom Lane
Subject Re: Sorting in Unicode not working
Date
Msg-id 29443.1081743415@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sorting in Unicode not working  (Hitesh Bagadiya <bagadiya@yahoo.com>)
List pgsql-general
Hitesh Bagadiya <bagadiya@yahoo.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: REINDEX slow?
Next
From: Tom Lane
Date:
Subject: Re: Error in function to pg_dump: Standard in must be a tty