Re: Corrupted table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Mosher <mosher(at)andrews(dot)edu>
Cc: Mailing List Postgresql <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Corrupted table
Date: 2001-10-09 04:23:11
Message-ID: 20896.1002601391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Robert Mosher <mosher(at)andrews(dot)edu> writes:
> So no suggestions to recover things, or at least only kill the one table,
> and not the entire database?

You should be able to drop the broken table after doing

touch $PGDATA/base/yourdb/yourtable

(make the obvious substitutions...) Your immediate problem is you
have a pg_class entry for a table and no underlying file to match.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Robert Mosher 2001-10-09 04:29:23 Re: Corrupted table
Previous Message Robert Mosher 2001-10-09 02:34:49 Corrupted table . . .