| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "ruben20(at)superguai(dot)com" <ruben20(at)superguai(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: could not access status of transaction 4244329 |
| Date: | 2004-10-13 15:34:05 |
| Message-ID: | 14956.1097681645@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"ruben20(at)superguai(dot)com" <ruben20(at)superguai(dot)com> writes:
> ERROR: could not access status of transaction 4244329
> DETAIL: could not open file "/usr/local/pgsql/data/pg_clog/0004": No
> existe el fichero o el directorio
What files actually appear in /usr/local/pgsql/data/pg_clog/ ?
The standard advice for working around this sort of thing is to create a
dummy pg_clog/0004 file and fill it with 256K of zeroes, so that the
VACUUM will decide that the affected row is dead. However it would be
a good idea to first try to understand what's gone wrong. Is this an
isolated dropped-bit in a transaction status field, or a symptom of more
general corruption in the table? You could try to determine which page
of the table contains the corrupted row, and then dump out that page
with pg_filedump for visual analysis. (See past discussions of
corrupted-data recovery in the list archives for details.)
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Kleiser | 2004-10-13 15:44:32 | Commit / Rollback in PL/pgSQL ? |
| Previous Message | Chris Browne | 2004-10-13 15:33:26 | Re: Proper Sizing of Shared Buffer Cache |