Re: Problems with my server...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with my server...
Дата
Msg-id 16004.1011893039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems with my server...  ("Paulo Jorge Gomes Ferreira" <paulojf@srsleiria.min-saude.pt>)
Список pgsql-bugs
"Paulo Jorge Gomes Ferreira" <paulojf@srsleiria.min-saude.pt> writes:
> I've got a problem in my PostgreSQL server. Anytime I issue some commands
> (like vacuum...) I got the following message:

> prescricoes=> vacuum;
> ERROR:  cannot find attribute 3 of relation pg_views

What Postgres version are you running?  (I suspect it must be pre-7.1.)

It would seem that something bad has happened to some rows in
pg_attribute.  You might possibly be able to recover by reindexing
pg_attribute, but I'm not sure that REINDEX exists or is trustworthy
in whatever version you have.  Probably the best advice is to try
to pg_dump your database, and if that's successful re-initdb and
reload.  (You'd be well advised to update to 7.1.3 while you're at it.)

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Paulo Jorge Gomes Ferreira"
Дата:
Сообщение: Problems with my server...
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #568: RULE ON SELECT with old values.