Re: invalid page header - Mailing list pgsql-general

From Markus Schiltknecht
Subject Re: invalid page header
Date
Msg-id 46B33B94.2000106@bluegap.ch
Whole thread Raw
In response to Re: invalid page header  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: invalid page header
List pgsql-general
Hi,

Tom Lane wrote:
> Hm, looks suspiciously ASCII-like.  If you examine the page as text,
> is it recognizable?

Doh! Yup, is recognizable. It looks like some PHP serialized output:


png%";i:84;s:24:"%InfoToolIconActive.png%";i:85;s:29:"%InfoToolIconHighlighted.png%";i:86;s:26:"%InfoToolIconInactive.png%";i:87;....

We do store serialized PHP objects like the above one in the database,
so it's probably not a mail spool.

>> What's the best cure? Can I just wipe out the block with something like:
>> # dd if=/dev/zero of=base/296788/302602 seek=58591 bs=8192 count=1
>
> Yeah, try that.  I think the net effect will be that some wide (toasted)
> values will be truncated.

Thank you for you guidance. I've done that and hope the running pg_dump
goes through fine.

Regards

Markus


pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: index bloat WAS: reindexing pg_shdepend
Next
From: "Simon Riggs"
Date:
Subject: Re: PG for DataWarehouse type Queries