pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
index error :- index ------ not a btree
2+ messages / 2 participants
[nested] [flat]

* index error :- index ------ not a btree
@ 2005-09-12 11:29 Yogvinder Singh <yogvinder@newgen.co.in>
  2005-09-12 14:11 ` Re: index error :- index ------ not a btree Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Yogvinder Singh @ 2005-09-12 11:29 UTC (permalink / raw)
  To: 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: index error :- index ------ not a btree
  2005-09-12 11:29 index error :- index ------ not a btree Yogvinder Singh <yogvinder@newgen.co.in>
@ 2005-09-12 14:11 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2005-09-12 14:11 UTC (permalink / raw)
  To: Yogvinder Singh <yogvinder@newgen.co.in>; +Cc: pgsql-admin

"Yogvinder Singh" <yogvinder@newgen.co.in> writes:
>     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

Postgres 7.3.what?  (And is there a particular reason not to be
using 7.4 or 8.0?)

Are you sure your disk drive isn't lying about write completion?
(IDE drives usually do so by default :-()

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-09-12 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-12 11:29 index error :- index ------ not a btree Yogvinder Singh <yogvinder@newgen.co.in>
2005-09-12 14:11 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox