Re: Sorting Problem

From: Kathy zhu <Kathy(dot)zhu(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tim Edwards <mor4321(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting Problem
Date: 2003-08-12 22:30:29
Message-ID: 3F396A85.1090309@Sun.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hotmail(dot)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(at)postgresql(dot)org)

--

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Maksim Likharev 2003-08-12 22:34:31 Re: Sorting Problem
Previous Message Tom Lane 2003-08-12 22:15:11 Re: Sorting Problem