<jacob(at)aers(dot)ca> writes:> I've simplified the query to make it easier to look at.
We need to see the table/index declarations. The query by itself isjust about useless.
regards, tom lane