Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group