Re: sorting problem - Mailing list pgsql-bugs

From CK Leung
Subject Re: sorting problem
Date
Msg-id 49FE9563.4050705@wecity.com
Whole thread Raw
In response to Re: sorting problem  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: sorting problem  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-bugs
I create a new database use UTF-8 and SQL_ASCII, same result found, how
can i fix this problem ?

CK

Kevin Grittner wrote:
>>>> CK Leung <ck@wecity.com> wrote:
>>>>
>> the result : select * from tt order by item_code;
>>
>>       item_code
>> ----------------------
>>  VAAAA
>>  .VAAAA
>>  V.AAAA
>>  VA.AAA
>>  V.AAAAB
>>  VBBBB
>>  (VBBBB
>>  (V)BBBB
>>  (V)B.BBB
>>  (VB)BBB
>>  V.BBBB
>>  V)BBBB
>>  VCCC
>> (13 rows)
>>
>> the sort sequence like ignore the character '.' , '(', ')'. Is it a
>> bug ?  It is no problem in old version !!!!
>>
>
> Probably not a bug; many collating sequences are defined to ignore
> such characters.  Perhaps you chose a different locale when you
> converted?
>
> -Kevin
>
>

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re:
Next
From: Craig Ringer
Date:
Subject: Re: sorting problem