pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryan Bullard <bbullard@friendlymatrix.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: IndexSupportInitialize Error
Date: Mon, 05 May 2003 09:58:22 -0400
Message-ID: <27481.1052143102@sss.pgh.pa.us> (raw)
In-Reply-To: <020001c2fa6a$04349ef0$6581a8c0@win2k>
References: <020001c2fa6a$04349ef0$6581a8c0@win2k>

"Bryan Bullard" <bbullard@friendlymatrix.com> writes:
> Last week our server's system disk broke causing the server to die a hard d=
> eath.  We run Postgres on another disk and the binaries and associated clus=
> ter seemed to have survived.  However when I try to connect (psql, dumpdb, =
> dumpall) to any of the databases I get the following error:
>         FATAL 1:  IndexSupportInitialize: bogus pg_index tuple
> We are running RH 7.3, Postgres 7.2.1 (We were in the process of upgrading =
> our databases - this was the last).  A quick search of the archives doesn't=
>  uncover much in regard to this problem.  Any ideas our there?

*Any* of the databases?  Since pg_index isn't shared it's difficult to
imagine a failure scenario that would wipe out all the databases in an
installation in this same way.

The error itself suggests that you've got a zeroed-out row in pg_index.
You could possibly recover by manually dropping the index in question,
if it's not a critical index.  What I'd try doing is starting a
standalone backend with the -P switch (ignore system indexes); if that
will let you in, then you'd be able to look through pg_index to try to
determine what's clobbered.

			regards, tom lane




view thread (2+ messages)

Message-ID: <27481.1052143102@sss.pgh.pa.us>
Permalink:  ../27481.1052143102@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27481.1052143102@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, bbullard@friendlymatrix.com
  Subject: Re: IndexSupportInitialize Error
  In-Reply-To: <27481.1052143102@sss.pgh.pa.us>
  References: <020001c2fa6a$04349ef0$6581a8c0@win2k> <27481.1052143102@sss.pgh.pa.us>

* 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