Re: invalid page header

From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid page header
Date: 2007-08-03 14:28:36
Message-ID: 46B33B94.2000106@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2007-08-03 14:29:56 Re: PG for DataWarehouse type Queries
Previous Message Michael Fuhr 2007-08-03 14:27:27 Re: index bloat WAS: reindexing pg_shdepend