"Tom.Bakken" <Tom(dot)Bakken(at)tx(dot)usda(dot)gov> writes:
> My problem reminds me of the poem "I saw a man who wasn't there".
> I created a table some time ago. When I try to drop it it says "no such
> file or directory". When I run vacuum or copy out it also says it isn't
> there. However, when I try to create a table with the same name it says
> the table already exists.
> I'm running Postgres 6.5.2 on Red Hat LINUX 6.1.
I suppose you got into this state by trying to roll back a DROP TABLE.
Doesn't work in pre-7.1 Postgres --- the physical file is already
removed as soon as you execute the DROP command.
(a) Create a physical file for the table ("touch
$PGDATA/base/dbname/tablename") and then you'll be able to drop the
(b) Update to 7.1 ASAP.
regards, tom lane
In response to
pgsql-odbc by date
|Next:||From: Hiroshi Inoue||Date: 2001-05-04 15:15:31|
|Subject: RE: Writing Large Objects to Postgresql via ODBC using VB|
|Previous:||From: Tom.Bakken||Date: 2001-05-04 13:12:52|
|Subject: I saw a table that wasn't there|