Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3C6D3632983 for ; Mon, 9 Feb 2009 15:34:15 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41356-01 for ; Mon, 9 Feb 2009 15:34:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C97A863284C for ; Mon, 9 Feb 2009 15:34:11 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n19JY4wp020152; Mon, 9 Feb 2009 14:34:04 -0500 (EST) To: John Lister cc: pgsql-admin@postgresql.org Subject: Re: database corruption help In-reply-to: <4990840C.4090900@kickstone.com> References: <507152DDF8AB4DF093BD01A8BEC7C659@squarepi.com> <17205.1234200693@sss.pgh.pa.us> <4990840C.4090900@kickstone.com> Comments: In-reply-to John Lister message dated "Mon, 09 Feb 2009 19:29:16 +0000" Date: Mon, 09 Feb 2009 14:34:04 -0500 Message-ID: <20151.1234208044@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/63 X-Sequence-Number: 31284 John Lister writes: > Although saying that.. > reindex now works, but doing a vacuum verbose complains that the index > is out of step with the table and i should reindex.. > would i be better shutting the db down, restarting in standalone mode > (and also using the -P option) before reindexing? Yeah, if you have reason not to trust the system indexes then -P is a good idea until they are fixed. Standalone mode per se isn't that important --- you could do this from a regular session with -P specified via PGOPTIONS. regards, tom lane