Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 31DEE475B61 for ; Mon, 5 Aug 2002 23:57:56 -0400 (EDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by postgresql.org (Postfix) with ESMTP id C777C475A6E for ; Mon, 5 Aug 2002 23:57:55 -0400 (EDT) Received: from swbell.net ([208.191.221.35]) by mta4.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0E007S7LOOHP@mta4.rcsntx.swbell.net> for pgsql-admin@postgresql.org; Mon, 05 Aug 2002 22:58:01 -0500 (CDT) Date: Mon, 05 Aug 2002 23:06:22 -0500 From: Steve Doerr Subject: Restore question To: pgsql-admin@postgresql.org Message-id: <3D4F4B3E.4010602@swbell.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020610 Debian/1.0.0-1 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/27 X-Sequence-Number: 5142 I've recently had to restore a couple of db's from backup and there were obsolete employee tables in the dbs. Now I can't drop or rename this or any other tables to properly load new ones. sqltest=# drop table employee sqltest-# I used pg_dump on the two dbs, and restored with the following: psql -f /home/steve/080502sltestdb.out sqltest Psql is also broken for the next command after one of these failed drops (when it's showing the - instead of =): sqltest-# select * from employee; ERROR: parser: parse error at or near "select" try again and: sqltest=# select * from employee; id | employee_id | name | addr1 | addr2 | addr3 | workphone | homephone | grade | title_position | salary | salarytype | exemptcode | gov_id | email | startdate | enddate | notes Does anyone recognize what's broken here or know what I might be able to do to fix it? Thanks for any assistance. Steve