index error :- index ------ not a btree - Mailing list pgsql-admin

From Yogvinder Singh
Subject index error :- index ------ not a btree
Date
Msg-id 006f01c5b78d$38ad2430$5605a8c0@ng3054
Whole thread Raw
Responses Re: index error :- index ------ not a btree  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
 
 


 

pgsql-admin by date:

Previous
From: "Pradeepkumar, Pyatalo (IE10)"
Date:
Subject: Re: Please help - libpq API
Next
From: Tom Lane
Date:
Subject: Re: index error :- index ------ not a btree