Jakub Ouhrabka <kuba(at)comgate(dot)cz> writes:
> What can I do to help to debug it?
Either poke into the code yourself, or submit a self-contained test case
(the query alone does not a test case make). I can't offhand think of a
reason for 8.2.5 to be slower than 8.2.4 ...
regards, tom lane