Re: FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1
Дата
Msg-id 2150.1248460388@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1  (Andrew Radamis <rust710@gmail.com>)
Ответы Re: FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1
Список pgsql-general
Andrew Radamis <rust710@gmail.com> writes:
> I'm getting this error when I try to log into my database.
> *FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1

You've got a corrupted index.  You can probably fix it like this:

    export PGOPTIONS="-P"
    psql ..usual options..
    reindex index pg_class_oid_index;

After that, a dump/initdb/reload might be in order, since it's hard to
tell whether there are other problems lurking.  Some testing of your
hardware might be advisable too; and I'd suggest updating your Postgres
if it's not a recent release.

            regards, tom lane

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

Предыдущее
От: Andrew Radamis
Дата:
Сообщение: FATAL: root page 3 of "pg_class_oid_index" has level 0, expected 1
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Replication from Postgres to EDB