Re: Sorting in Unicode not working

From: Hitesh Bagadiya <bagadiya(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting in Unicode not working
Date: 2004-04-12 03:43:52
Message-ID: 20040412034352.78516.qmail@web12304.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

What can I do next to get sorting working on postgresql?

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Hitesh Bagadiya <bagadiya(at)yahoo(dot)com> writes:
> > We did set the locate to hi_IN at initdb but sorting is not
> > working.
>
> You should check that you have selected a database encoding
> that matches
> what the locale expects. Also double-check that you really do
> have that
> locale selected (use pg_controldata, or in 7.4 just "show
> lc_collate").
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-12 03:44:03 Re: ERROR: REINDEX DATABASE: Can be executed only on the currently open database.
Previous Message Siew Hui, Wong 2004-04-12 03:37:45 Re: Error in function to pg_dump: Standard in must be a tty