There might be some other things we could do to provide a fast-path for particularly trivial cases. But on the whole I think this plot shows that there's no systematic problem, and indeed not really a lot of change at all. I won't bother to repost the modified patch right now, but will spend some time filling in the missing pieces first. regards, tom lane