Re: ERROR: could not open relation with OID 2836 - Mailing list pgsql-general

From Tom Lane
Subject Re: ERROR: could not open relation with OID 2836
Date
Msg-id 6086.1214533387@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: could not open relation with OID 2836  (Rodrigo Gonzalez <rjgonzale@gmail.com>)
Responses ERROR: concurrent insert in progress  (Ganbold <ganbold@micom.mng.net>)
Re: ERROR: could not open relation with OID 2836  (Rodrigo Gonzalez <rjgonzale@gmail.com>)
List pgsql-general
Rodrigo Gonzalez <rjgonzale@gmail.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

pgsql-general by date:

Previous
From: Klint Gore
Date:
Subject: Re: dblink to non postgresql dbms
Next
From: Ganbold
Date:
Subject: ERROR: concurrent insert in progress