Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id EFA0C2E0040 for ; Sun, 11 May 2008 14:26:07 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 89625-01 for ; Sun, 11 May 2008 14:26:04 -0300 (ADT) 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 developer.postgresql.org (Postfix) with ESMTP id 2469A2E0032 for ; Sun, 11 May 2008 14:26:04 -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 m4BHQ39F020764; Sun, 11 May 2008 13:26:03 -0400 (EDT) To: "James Farrugia" cc: pgsql-admin@postgresql.org Subject: Re: Orphan TOAST object In-reply-to: <8d01be800805111017w6910acdapaf66f0b56908d36e@mail.gmail.com> References: <8d01be800805110946r792efacdp3dbe02829b6da7a9@mail.gmail.com> <20553.1210525788@sss.pgh.pa.us> <8d01be800805111017w6910acdapaf66f0b56908d36e@mail.gmail.com> Comments: In-reply-to "James Farrugia" message dated "Sun, 11 May 2008 19:17:42 +0200" Date: Sun, 11 May 2008 13:26:03 -0400 Message-ID: <20763.1210526763@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/83 X-Sequence-Number: 29167 "James Farrugia" writes: > I'm running 8.2.1. You really need to update to 8.2.latest. There are several known data-corruption problems in 8.2.1, and it seems possible that one of them ate the pg_depend row you needed. > I cleanly forgot about pg_depend! > Even after re-indexing I wasn't able to find an entry in pg_depend having > the TOAST's OID. I guess that by creating foo again and linking > pg_toast_xxx with foo in pg_depend by hand i can make it go away. Yeah, that's probably the cleanest recovery strategy. regards, tom lane