Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 21EDF47634B for ; Tue, 10 Sep 2002 04:08:54 -0400 (EDT) Received: from mailhub2.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id 53BCB475C8B for ; Tue, 10 Sep 2002 04:08:53 -0400 (EDT) Received: from [194.82.51.24] (helo=imail) by mailhub2.sghms.ac.uk with esmtp (Exim 4.05) id 17og5R-0005un-00 for pgsql-admin@postgresql.org; Tue, 10 Sep 2002 09:09:29 +0100 Received: from [172.16.20.3] (mrc1-003.sghms.ac.uk [172.16.20.3]) by imail.sghms.ac.uk (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTPA id <0H270086DQMSSL@imail.sghms.ac.uk> for pgsql-admin@postgresql.org; Tue, 10 Sep 2002 09:08:52 +0100 (BST) Date: Tue, 10 Sep 2002 09:08:57 +0100 From: Adam Witney Subject: 7.2.2 upgrade, pg_dumpall / reload problem To: pgsql-admin Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.0.2006 X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/103 X-Sequence-Number: 5642 Hi, I just upgraded from 7.2 to 7.2.2 using Mark Liyanage's prebuilt MacOSX 10.2 package http://www.entropy.ch/software/macosx/postgresql/ I followed the instructions to first use pg_dumpall to dump all the data, then upgraded and restarted the server. However when I try to reload the data I get an error [mrc1-003:/usr/local/pgsql] postgres% ./bin/psql -f /tmp/postgresql.dump template1 You are now connected to database template1. DELETE 0 CREATE USER CREATE USER DELETE 0 CREATE GROUP ALTER GROUP ALTER GROUP You are now connected to database template1 as user admin. CREATE DATABASE FATAL 1: Database "bugasbase" does not exist in the system catalog. psql:/tmp/postgresql.dump:21: \connect: FATAL 1: Database "bugasbase" does not exist in the system catalog. I have a database called BugasBase.... However this seems to be trying to find bugasbase Any help would be most appreciated Thanks adam