ERROR: catalog is missing 2 attribute(s) for relid 16584

From: Prakash Itnal <prakash074(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ERROR: catalog is missing 2 attribute(s) for relid 16584
Date: 2012-05-14 05:01:09
Message-ID: CAHC5u78a1MGi3LNvke7diH_5MmvNd+bzrvo=iWyxJjLFROKShA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Recently we faced an issue with postgres server where it is throwing error:

ERROR: catalog is missing 2 attribute(s) for relid 16584
CONTEXT: automatic analyze of table "DBRNW.public.act_wsta"

I checked in the database and found that this table is not present but the
entry for the same is present in 'pg_tables'. This error is occuring when
auto analyze is executed.

I searched for the issue in postgres blogs and found that there is no way
to recover from this situation except restore from last backup!! I wanted
to confirm is there any way to recover at run time? because if we restore
from last backup then we might loose some data that got updated after this
error occurred.

Any help would be appreciated.

--
Thanks,
Prakash

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message james 2012-05-14 05:53:16 Re: Bugs in our Windows socket code
Previous Message Qi Huang 2012-05-14 02:42:19 Re: Gsoc2012 idea, tablesample