X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7006B476262 for ; Mon, 5 May 2003 09:58:20 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id AAA7F474E42 for ; Mon, 5 May 2003 09:58:19 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h45DwMU6027482; Mon, 5 May 2003 09:58:22 -0400 (EDT) To: "Bryan Bullard" Cc: pgsql-admin@postgresql.org Subject: Re: IndexSupportInitialize Error In-reply-to: <020001c2fa6a$04349ef0$6581a8c0@win2k> References: <020001c2fa6a$04349ef0$6581a8c0@win2k> Comments: In-reply-to "Bryan Bullard" message dated "Thu, 03 Apr 2003 21:21:15 -0800" Date: Mon, 05 May 2003 09:58:22 -0400 Message-ID: <27481.1052143102@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/47 X-Sequence-Number: 8609 "Bryan Bullard" 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