Re: bits & the end of the world

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: bits & the end of the world
Дата
Msg-id 200008280332.XAA14296@candle.pha.pa.us
обсуждение исходный текст
Ответ на bits & the end of the world  (Ian Turner <vectro@pipeline.com>)
Список pgsql-general
-- Start of PGP signed section.
> I just got everyone's favorite error message:
> FATAL 1:  my bits moved right off the end of the world!
>         Recreate index pg_attribute_relid_attnum_index.
>
> Except, of course, this is a system index.
>
> The query was:
>
> CREATE TEMP TABLE NextHopTemp (num     integer,
>                                prev    integer,
>                                settled boolean,
>                                cost    integer);
>
> Note also that this was inside a transaction.
>
> I am running postgresql 7.0.2 from the RPM. Any ideas? :o

I had this in my mailbox.  Because it is a system index, you may be
stuck.  You may need to use pg_upgrade.  This will allow you to
re-create the tables, and move the data files back into place, fixing
the problem.  If I remember correctly, you can try REINDEX, which is a
new command in 7.0.X for rebuilding system indexes in place.


> It is from the btree index code, nbtpage.c
>
>         if (P_RIGHTMOST(opaque))
>             elog(FATAL, "my bits moved right off the end of the
> world!");
>
> I would drop the index and recreate.  The wording of this error message
> is one of my personal favorites.

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

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: bits & the end of the world
Следующее
От: Louis Bertrand
Дата:
Сообщение: book publishing date?