Re: missing pg_clog files ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: missing pg_clog files ?
Date
Msg-id 2249.1064247419@sss.pgh.pa.us
Whole thread Raw
In response to Re: missing pg_clog files ?  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Responses Re: missing pg_clog files ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> Indeed, the plain -d dump says that I have a chunk of /var/mail/prlw1
> in 1000-13ff. No wonder postgres complained!

Yipes.  We have seen this sort of thing once or twice in the past.
I don't know whether you are looking at a disk drive fault (dropping
the right data onto the wrong sector) or a kernel fault (getting
confused about which buffer holds which file block), but I believe
it's one or the other.  It's hard to see how anything at the application
level could have gotten those two files switched.  You might look to see
if there are any updates available for your kernel.

As for recovery, you probably want to drop and reload at least that one
table.  Whether it's worth a complete reload is your call.
        regards, tom lane


pgsql-hackers by date:

Previous
From: E R
Date:
Subject: Re: [GENERAL] Can't Build 7.3.4 on OS X
Next
From: "Paulo Scardine"
Date:
Subject: Re: Killing the backend to cancel a long waiting query