[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DDTSS: strange system behavior (phantom packages!)



On 19 June 2011 21:21, Davide Prina <davide.prina@gmail.com> wrote:
> On 19/06/2011 21:15, Martijn van Oosterhout wrote:
>>
>> Ok, I just found a problem with packages with letters at the end of
>> the alphabet (w&  z for example). I've made a small adjustment, can
>> you check if the problems persist?
>
> ok, now I see all the packages

Ok, for those people wondering how that could possibly have happened,
consider this:

ddtp=> select 'it/packages/y' <= E'it/packages/\xFF';
 ?column?
----------
 t
(1 row)

ddtp=> select 'it/packages/ya' <= E'it/packages/\xFF';
 ?column?
----------
 f
(1 row)

Which just shows that you shouldn't pass invalid characters to sort routines.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/


Reply to: