index error :- index ------ not a btree

From: "Yogvinder Singh" <yogvinder(at)newgen(dot)co(dot)in>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: index error :- index ------ not a btree
Date: 2005-09-12 11:29:13
Message-ID: 006f01c5b78d$38ad2430$5605a8c0@ng3054
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

hi,
i am facing the above quoted error " index ---- not a btree".
Scenario here is
1) installation of Postgres7.3
2) creation of database using initdb
3) creation and population of some tables using a sql script
4) reboot

after reboot when i do
vacuumdb -f -z -U postgres -d postgres (previously created database)
vacuumdb -f -z -U postgres -d ispcab (previously created database)
vacuumdb for ispcab gives error pg_toast_??? not a btree.

i have scanned through previous posts to find out that this is due to reboot occuring without database server properly shut down and on restart ...indexes get corrupted.

but here the situation is a bit diffrent
if i put a delay of around 120s between the two vacuum commands, everything works fine.
Can anyone help me on that. its urgent

Thanks in advance
Yogvinder Singh

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-09-12 14:11:41 Re: index error :- index ------ not a btree
Previous Message Nirav Parikh 2005-09-12 06:57:16 plperl