"O'Shea, Brendan" <boshea(at)akamai(dot)com> writes:
> pg_dump: reading schemas
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: catalog is missing 9
> attribute(s) for relid 10297
Ugh. Does it work if you do
export PGOPTIONS="--ignore_system_indexes=1"
first? If so, the problem would evidently be corruption of the indexes
for pg_attribute, specifically pg_attribute_relid_attnum_index. It
seems pretty suspicious that lightning would strike twice in the same
place ...
regards, tom lane