Re: Bad crash, pg_clog files missing ... ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bad crash, pg_clog files missing ... ?
Date: 2003-03-07 04:32:11
Message-ID: 27597.1047011531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Marc G. Fournier" <scrappy(at)hub(dot)org> writes:
> FATAL 2: open of /usr/local/pgsql/5432/pg_clog/06F6 failed: No such file or directory

> The RAID controller went on our server today ... is it safe to just
> 'touch' the files, or is this a 'restore from backup and deal with the
> losses' sort of thing? :(

What range of filenames is actually in $PGDATA/pg_clog/ ?

I suspect 06F6 is well beyond that range, in which case this error
implies corrupted table files, in which case "restore from backup"
is the indicated course of action :-(

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-03-07 04:44:15 Re: Partial index on date column
Previous Message Kevin Brown 2003-03-07 04:10:31 Re: stats_command_string default?