Re: is this a bug or I am blind? - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: is this a bug or I am blind?
Date
Msg-id 20051216180925.GB11985@svana.org
Whole thread Raw
In response to Re: is this a bug or I am blind?  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: is this a bug or I am blind?
List pgsql-general
On Fri, Dec 16, 2005 at 06:54:15PM +0100, Martijn van Oosterhout wrote:
> That's true, in the sense that unconverted strings are not hashable.
> This is what strxfrm was created for, to return the sorting key for a
> string. A quick C program demonstrates that indeed in that locale these
> two strings are equal, whereas in en_AU they are not.

FWIW, here's some links to Microsoft and MySQL dealing with the same
issue, so we're not alone here. Hungarian seems to be a complex
language to sort, but it seems that glibc is right in this case.

http://blogs.msdn.com/michkap/archive/2005/11/13/491646.aspx
http://bugs.mysql.com/bug.php?id=12519

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: is this a bug or I am blind?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: is this a bug or I am blind?