Possible solution to a number of "query takes too long" problems

I guess it won’t harm if there’ll be more people to test the patch.

http://rt3.fsck.com/Ticket/Display.html?id=3230

(you would have to do a download to get the correct indentation for the
patch to apply)

Cheers,
+Anton.
If I did know the future of Perl, and if I told you, you’d probably run
away screaming. – Larry Wall