The following bug has been logged online:
Bug reference: 5271
Logged by: Michael Tenenbaum
Email address: michael(at)strategic-techs(dot)com
PostgreSQL version: 8.3.9
Operating system: Gentoo Linux
Description: pg_dump: schema with OID 22519 does not exist
Details:
According to the posts I picked up from a Google search, this is a bug that
never seems to get fixed.
I followed Tom's advice and deleted entries in
pg_type and pg_class
and pg_dump is working ok.
The object was a table in a development system with only a few entries.
hardly anything was written to the table in the past few weeks, but the
daily pg_dump was working fine until this evening.