Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id F1B81635505 for ; Sat, 28 Aug 2010 15:15:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93905-01-9 for ; Sat, 28 Aug 2010 18:15:02 +0000 (UTC) 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 C1CC3635653 for ; Sat, 28 Aug 2010 15:12:45 -0300 (ADT) 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 o7SICgfl022661; Sat, 28 Aug 2010 14:12:42 -0400 (EDT) To: Carl Anderson cc: "pgsql-admin@postgresql.org" Subject: Re: vacuumdb: vacuuming of database "Validation" failed: ERROR: failed to re-find parent key in index... In-reply-to: <61117025-6264-4CF1-8EB5-31616B8B1AAE@archimedesmodel.com> References: <61117025-6264-4CF1-8EB5-31616B8B1AAE@archimedesmodel.com> Comments: In-reply-to Carl Anderson message dated "Sat, 28 Aug 2010 14:03:11 -0400" Date: Sat, 28 Aug 2010 14:12:41 -0400 Message-ID: <22660.1283019161@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/269 X-Sequence-Number: 35518 Carl Anderson writes: > Running vacuumdb, with and without -f, I get output with final line: > vacuumdb: vacuuming of database "Validation" failed: ERROR: failed to re-find parent key in index "pg_shdepend_reference_index" for deletion target page 380 You should be able to fix that with REINDEX. However, since it's a shared catalog index, you'll need to do it in standalone mode. See the REINDEX and "postgres" reference pages. regards, tom lane