Received: from thelab.hub.org (root@nat197.166.mpoweredpc.net [142.177.197.166]) by hub.org (8.10.1/8.10.1) with ESMTP id e73BhwG84340 for ; Thu, 3 Aug 2000 07:43:59 -0400 (EDT) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id IAA35053; Thu, 3 Aug 2000 08:41:27 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 3 Aug 2000 08:41:26 -0300 (ADT) From: The Hermit Hacker To: Carolyn Lu Wong cc: "pgsql-sql@postgresql.org" Subject: Re: What is happening? In-Reply-To: <3988FF7C.F023BCC@kss.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/21 On Thu, 3 Aug 2000, Carolyn Lu Wong wrote: > I was trying to dump data, drop then recreate table, and import data > back to the table. There were errors during the process and the > transaction was not committed. > > The table is there when I do '\d' and the table definition is there. > However, I can't drop table nor select from this table. I always get the > following error: > > ERROR: mdopen: couldn't open accounts: No such file or directory. what version of PostgreSQL are you running, first off ... what I've done in the past that has been successful is to go into the data/base/ directory, do a 'touch accounts' so that there is a file there for the postgres process to unlink, and then do the drop table ...