Re: Sorting Problem - Mailing list pgsql-general

From Kathy zhu
Subject Re: Sorting Problem
Date
Msg-id 3F396A85.1090309@Sun.COM
Whole thread Raw
In response to Sorting Problem  ("Tim Edwards" <mor4321@hotmail.com>)
Responses Re: Sorting Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Do you mean that soring doesn't work for en_US locale ???
And, does encoding affect sorting at all ??

thanks,
kathy

Tom Lane wrote:
> "Tim Edwards" <mor4321@hotmail.com> writes:
>
>>When I sort ASC on the varchar I get some strange results. Here a section of
>>data cut after running a sort. It starts with RM- then does RMT- Then goes
>>back for more RM-.
>
>
> Sounds like you're in en_US locale, or at least something other than C
> locale.
>
> Unfortunately this can only be fixed by re-initdb'ing :-(
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


--



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sorting Problem
Next
From: Dennis Gearon
Date:
Subject: Re: Sorting Problem