Re: BUG #5055: Invalid page header error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5055: Invalid page header error
Date
Msg-id 26633.1253065845@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5055: Invalid page header error  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-bugs
Craig Ringer <craig@postnewspapers.com.au> writes:
> [ long summary of all the weird and wonderful ways things can break ]
> ... unless an event is noticed that is associated with the corruption, or
> some way to reproduce it is found, there's no way to tell whether any
> given incident could be a rarely triggered Pg bug (ie: Pg writes wrong
> data, writes garbage to files, etc) or whether it's something external
> like hardware or interfering 3rd party software.

Sometimes you can get a good clue by examining the putatively damaged
blocks.  For instance, we've seen cases where a block in a Postgres data
file was reported corrupt, and turned out to contain text out of the
system's mail spool.  That's a pretty strong hint that either the
filesystem or the disk drive messed up and wrote a chunk of a file at
the wrong place.  Isolated flipped bits would suggest memory problems
(per the cosmic-rays issue).  And so on.  Postgres bugs tend to have
fairly recognizable signatures too.  But with no evidence to look at,
there's nothing we can do except speculate.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5042: Update numeric within a rule
Next
From: Craig Ringer
Date:
Subject: Re: BUG #5058: [jdbc] Silent failure with executeUpdate()