Re: EMERGENCY

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Henrik Steffen <steffen(at)city-map(dot)de>
Cc: pg <pgsql-general(at)postgresql(dot)org>
Subject: Re: EMERGENCY
Date: 2002-07-15 17:28:16
Message-ID: 200207151728.g6FHSGH15250@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Henrik Steffen wrote:
>
> Hello Tom, anyone, please help me urgently:
>
> select * from ANY_TABLE_IN_MY_DB;
>
> ALWAYS GIVES:
>
> ERROR: cannot open pg_statistic_relid_att_index: No such file or directory
>
> this is happening in my LIVE System!! how can I repair this quickly ?
>
> or is only an initb possible?
>
> thanks in advance
>
> ps.
> it's certainly still due to the memory problem. I ordered a completely new
> server which will be up and running in 2 or 3 hours hopefully. but what can I do
> now??

Seems you lost your optimizer statistics. Not sure how to fix that.
There is a reindex command, but I don't know if it will recreate an
index that doesn't even exist anymore and creating system indexes can be
tricky. I think the only way to do that is to start a standalone
backend with the -O flag and recreate the index. The description I have
for the index is:

Indexes: pg_statistic_relid_att_index unique btree (starelid, staattnum)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

  • EMERGENCY at 2002-07-15 17:14:01 from Henrik Steffen

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2002-07-15 17:29:04 Re: EMERGENCY
Previous Message Henrik Steffen 2002-07-15 17:14:01 EMERGENCY