Re: 8.3.5 broken after power fail

From: Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at>
To: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: 8.3.5 broken after power fail
Date: 2009-02-17 20:10:55
Message-ID: de3f3b06f55e4f88b0ced132435bcd96@webmail.zmi.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Michael Monnerie" <michael(dot)monnerie(at)is(dot)it-management(dot)at> schrieb:
> Now I already have
> select * from dbmail_messageblks where messageblk_idnr not in
> (3904492,3904495,3904496,3904499,3904500,3904501,3904503);
> ERROR: unexpected chunk number 1 (expected 0) for toast value 1460210 in
> pg_toast_1281127
>
> Is there a way to find out what "toast value 1460210" stands for? I'd like
> to find the connection between messageblk_idnr and that toast value, as
it's
> not easy to find that.

My problem is that there seems to be a jump in messageblk_idnr, and I cannot
find the relation to the missing toast value. Is there a way to find this?

Or, I'd need to use something like COPY .. WHERE .. to exclude the broken
toasts and see where it stops next. SELECT only shows the error with the
toast value number, I'd like to see what it the last row that is processed
then I could find the next and know it's messageblk_idnr. Is that possible?

mfg zmi

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Stell 2009-02-17 20:20:53 Re: Pg 8.3.6 installation
Previous Message Isabella Ghiurea 2009-02-17 20:06:17 Pg 8.3.6 installation