I wrote:
> I looked into Ian Harding's problem reported here:
> http://archives.postgresql.org/pgsql-general/2007-02/msg00530.php
I've applied the attached patch, but it could do with some more
testing. Please try it out on your database and see if you get sane
answers ...
regards, tom lane