Thomas Mueller <[EMAIL PROTECTED]> writes: > That is much better but still very slow - I don't understand why > PostgreSQL is that slow here?
Drop the superfluous ORDER BY clause. -tih -- Don't ascribe to stupidity what can be adequately explained by ignorance.