On Fri, Dec 16, 2005 at 01:06:58PM -0500, Tom Lane wrote:
> Ah. So we could redefine hashtext() to return the hash of the strxfrm
> value. Slow, but a lot better than giving up hash join and hash
> aggregation altogether...
Not to put too fine a point on it, but either you want locale-sensetive
sorting or you don't. If you do, you need to realise the cost
associated with it. Correctness above speed after all.
Which reminds me, I should probably finish that COLLATE patch. Then you
could choose between:
'putty' = 'putyty' COLLATE C (false)
'putty' = 'putyty' COLLATE 'hu_HU' (true)
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.