What was the query it failed on, exactly? That last page it readseems to be an empty index page --- it should have moved on to thenext index page, I'd think, rather than doing anything that couldhang up.
regards, tom lane