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 20051216181912.GC11985@svana.org
Whole thread Raw
In response to Re: is this a bug or I am blind?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: is this a bug or I am blind?
List pgsql-general
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.

Attachment

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: is this a bug or I am blind?
Next
From: "Ale Raza"
Date:
Subject: Re: Debug user lib for user define data type