Mikael Kjellström <mikael.kjellstrom@mksoft.nu> writes:
> Your recomendation is to restore the backup to a new database and drop
> the old one, right?
Right. If you've got more than one active database in this
installation, it might be prudent to dump and restore the whole thing
--- but in any case, you don't want to trust this database's
pg_attribute anymore.
regards, tom lane