Re: [JDBC] Regarding vacuumdb

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Shanmugasundaram <shan(at)ceedees(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: [JDBC] Regarding vacuumdb
Date: 2001-08-29 11:41:02
Message-ID: Pine.LNX.4.30.0108291338030.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Shanmugasundaram writes:

> I am getting the following error while doing vacuumdb,
>
> ERROR: mdopen: couldn't open test1: No such file or directory
> vacuumdb: database vacuum failed on db1.
>
> Here 'db1' is the database and 'test1' is a table. When, displaying the
> structure of the
> table 'test1', it comes correctly. But I can't drop the table. What
> could be wrong?

You probably rolled back a DROP TABLE operation, so the underlying table
file on disk is gone but the catalog structures have been preserved.
You could probably try

touch $PGDATA/base/db1/test1

and then drop the table.

Consider upgrading to the latest stable release (7.1.3) when you get a
chance to eliminate this class of problems.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-29 11:42:13 Re: Select from different database
Previous Message Jacob Vennervald Madsen 2001-08-29 11:37:24 RE: Select from different database

Browse pgsql-jdbc by date

  From Date Subject
Next Message Marc G. Fournier 2001-08-29 15:00:38 List archives moved and cleaned up ...
Previous Message Shanmugasundaram 2001-08-29 07:21:06 Regarding vacuumdb