Re: clarifying a few error messages - Mailing list pgsql-general

From Tom Lane
Subject Re: clarifying a few error messages
Date
Msg-id 6535.1042497012@sss.pgh.pa.us
Whole thread Raw
In response to Re: clarifying a few error messages  (Thomas F.O'Connell <tfo@monsterlabs.com>)
List pgsql-general
"Thomas F.O'Connell" <tfo@monsterlabs.com> writes:
> As for the bad data on disk, I've got a backup, but how severe are we
> talking? By not trusting it, do you mean that it could be flagrantly
> wrong (i.e., truly corrupted; bad data), or just out of sync with
> whatever writes were last occurring?

The high clog numbers you were quoting suggest completely-trashed
transaction ID fields (I'm assuming that the files actually present in
pg_clog have numbers nowhere near that).  I've only seen that happen in
the context of completely-trashed disk pages.  You could possibly do
some investigation for yourself using pg_filedump.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [DOCS] GUC/postgresql.conf docs
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL on Windows