pg_toast record in table pg_class

From: Mihail Nasedkin <m(dot)nasedkin(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_toast record in table pg_class
Date: 2009-09-24 05:45:02
Message-ID: 2a6880830909232245k5da4475blfd2e0cc48c02eb71@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Hi.

I accidentally deleted pg_toast record from pg_class table that belongs to
regular table (reltoastrelid).

Now [select * from table_name] not work:
ERROR: could not open relation with OID [oid_of_pg_toast_table]

Is it possible to restore corruption?

--
---
Regards,
M.Nasedkin

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mihail Nasedkin 2009-09-24 08:52:49 pg_toast record in table pg_class
Previous Message Tom Lane 2009-09-23 22:27:26 Re: db size and tables size difference

Browse pgsql-general by date

  From Date Subject
Next Message Mihail Nasedkin 2009-09-24 08:52:49 pg_toast record in table pg_class
Previous Message Brendan Hill 2009-09-24 03:47:48 Re: Idle processes chewing up CPU?