Re: unable to dump database, toast errors

From: Lonni J Friedman <lfriedman(at)vasoftware(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unable to dump database, toast errors
Date: 2003-04-03 21:18:42
Message-ID: Pine.LNX.4.44.0304031317490.3031-100000@beefcake.hdqt.vasoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 3 Apr 2003, Tom Lane wrote:
> Lonni J Friedman <lfriedman(at)vasoftware(dot)com> writes:
> > Do you mean the fields/rows in pg_toast_302323 or artifact_file ?
>
> The ones in artifact_file.
>
> > How
> > would i determine which ones reference broken toast entries?
>
> If you get the toast error when you try to read the field's value, then
> it's broken ...
>
> You may find yourself doing things like "select * from artifact_file
> limit N" to try to narrow down which rows contain broken values. If so,
> keep in mind that (in 7.2) LIMIT will read one more row than it returns;
> so if you can select N rows but not N+1 rows, the problem is actually in
> row N+2.

ok, i've got 786 rows to play with, joy. once i find a broken row/field,
how do I map that back to pg_toast_302323?

thanks.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ian Barwick 2003-04-03 21:19:01 Re: help for postgreSQL in shell
Previous Message Medi Montaseri 2003-04-03 21:07:18 Array type and default values