From: | Michael Guerin <guerin(at)rentec(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Database corruption. |
Date: | 2007-02-08 17:24:27 |
Message-ID: | 45CB5CCB.3090805@rentec.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Zeroing out the whole block containing it is the usual recipe. I forget
> the exact command but if you trawl the archives for mention of "dd" and
> "/dev/zero" you'll probably find it. Keep in mind you want to stop the
> postmaster first, to ensure it doesn't have a copy of the bad block
> cached in memory.
>
> regards, tom lane
>
You're suggesting to zero out the block in the underlying table files,
or creating the missing pg_clog file and start filling with zero's? I
just want to clarify, b/c all references I've read so far dealing with
this error talk about zapping the pg_clog file?
Would it be safer to just find the row(s) that are having problems,
create the missing clog file to get past the error, then delete these
rows from the db?
From | Date | Subject | |
---|---|---|---|
Next Message | Brusser, Michael | 2007-02-08 17:24:42 | Re: Database corruption. |
Previous Message | Mikko Partio | 2007-02-08 17:21:40 | Re: Client connection: Port 5432 / Postgres |