pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yogvinder Singh <yogvinder@newgen.co.in>
To: pgsql-admin@postgresql.org
Subject: index error :- index ------ not a btree
Date: Mon, 12 Sep 2005 16:59:13 +0530
Message-ID: <006f01c5b78d$38ad2430$5605a8c0@ng3054> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <006f01c5b78d$38ad2430$5605a8c0@ng3054>
Permalink:  ../006f01c5b78d$38ad2430$5605a8c0@ng3054/
Also on:    postgresql.org/message-id/006f01c5b78d$38ad2430$5605a8c0@ng3054

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: yogvinder@newgen.co.in
  Subject: Re: index error :- index ------ not a btree
  In-Reply-To: <006f01c5b78d$38ad2430$5605a8c0@ng3054>
  References: <006f01c5b78d$38ad2430$5605a8c0@ng3054>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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