Rodrigo Gonzalez <rjgonzale(at)gmail(dot)com> writes:
> Tom Lane wrote:
>> No, it's clear that things are already broken before pg_dump started.
>> You need to show us how to get to this state from a fresh database.
> Interesting....a new problem maybe, or maybe the same one....
> ...
> ERROR: relation "pg_toast_1255" does not exist
Looks like almost the same problem: pg_proc's TOAST table is missing.
But this behavior implies that the pg_class row for it is missing,
whereas the other error suggested that the system catalog entries were
fine but the on-disk file was missing. Odd.
When you say "restored from backup", are you talking about a pg_dump
backup, or what?
regards, tom lane