Re: Orphan TOAST object

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "James Farrugia" <james(dot)farrugia(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Orphan TOAST object
Date: 2008-05-11 17:26:03
Message-ID: 20763.1210526763@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"James Farrugia" <james(dot)farrugia(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Denison Wright 2008-05-11 18:12:18 pg_dump 8.3 changes from 8.2
Previous Message Tom Lane 2008-05-11 17:09:48 Re: Orphan TOAST object