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-08 21:43:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Robert Mosher <mosher(at)andrews(dot)edu> writes:
> In a Perl script I ended up trying to UPDATE a row in my database with a 
> value that was out of the range. Now whenever I try to do something with 
> the table I get the error:

> 	ERROR:  mdopen: couldn't open tablename: No such file or directory

It seems unlikely that the one led to the other.  The known ways to
cause that type of failure involve other things, like trying to roll
back a DROP TABLE.

How old is your Postgres?

> I can't even drop the table, despite the fact that it shows up when I 
> enter '\dt' in psql. I could probably run destroydb on the 
> database that contains the table,

If it's called "destroydb" and not "dropdb", then the answer to my
question is "too old".  Consider an update, soon.

			regards, tom lane

In response to


pgsql-novice by date

Next:From: Robert MosherDate: 2001-10-08 23:20:19
Subject: Re: Corrupted table
Previous:From: Robert MosherDate: 2001-10-08 20:44:40
Subject: Corrupted table

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