"Peter Darley" <pdarley(at)kinesis-cem(dot)com> writes:
> Sorry, I always forget to post the version. I'm running 7.2.1 on Linux.
Drat ... I was hoping it was old ;-)
> I deleted the records from pg_class and pg_type, and vacuum succeeded
> without any errors.
I'm glad you got out of the problem, but you shouldn't have got into it.
There's a bug there somewhere, and I need more data to try to look for
it. Have you got any ideas about what might have triggered this
situation --- for example, were there any database crashes recently?
System crashes? Odd behavior of any kind?
regards, tom lane