Re: ERROR: Index pg_toast_8443892_index is not a btree

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, strk <strk(at)keybit(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ERROR: Index pg_toast_8443892_index is not a btree
Date: 2003-12-09 23:50:12
Message-ID: 200312092350.hB9NoCG20869@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck wrote:
> Tom Lane wrote:
> > Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> >> Is there anything stopping us going through the code and finding all
> >> ereports that can be fixed by a REINDEX, and issue a HINT with all of
> >> them saying that they should REINDEX the broken index?
> >
> > How would you know which ones correspond to REINDEX-fixable conditions?
> >
> > I generally dislike hints that tell people their first action should be
> > to destroy the evidence, anyway. If they had an index problem, REINDEX
> > will guarantee there is no chance of learning anything about it.
>
> I couldn't agree more. Look at this very instance. He now found the
> right reindex command and the corrupted file is gone. We don't have the
> slightest clue what happened to that file. Was it truncated? Did some
> other process scribble around in the shared memory? How do you tell now?

Does he have bad RAM? Good point. Should we give a hint to report it
to us?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message markw 2003-12-10 00:27:06 DBT-2 running against PostgreSQL and LVM2
Previous Message Bruce Momjian 2003-12-09 23:28:20 Re: ISO 8601 'Time Intervals' of the 'format with time-unit