Re: pg_dump crashes the backend - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump crashes the backend
Date
Msg-id 21862.1047661342@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump crashes the backend  (Louis-David Mitterrand <vindex@apartia.org>)
List pgsql-hackers
Louis-David Mitterrand <vindex@apartia.org> writes:
> [7.3.2 on debian unstable]
> We recently had an unclean server shutdown and now a pg_dump command
> crashes the backend:
> pg_dump: PANIC:  open of /var/lib/postgres/data/pg_clog/0003 failed: No
> such file or directory
> Should we restore from a known good dump after an initdb?

If you have a good dump then initdb and reload seems like the best
answer.  Before you do, though, I'd be interested to see an ls -l of the
pg_clog directory (I'm interested in the names/sizes/mod times of the
files therein).  Can you give any more details about the server
shutdown?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: SQL99 ARRAY support proposal
Next
From: Alvaro Herrera
Date:
Subject: My project: nested transactions