Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E800A476933 for ; Wed, 11 Sep 2002 16:20:37 -0400 (EDT) Received: from mailhub1.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id 49AE74767F9 for ; Wed, 11 Sep 2002 16:20:37 -0400 (EDT) Received: from [194.82.51.24] (helo=imail) by mailhub1.sghms.ac.uk with esmtp (Exim 4.05) id 17pDk8-00022A-00; Wed, 11 Sep 2002 21:05:44 +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 <0H2A00HHCIGHEG@imail.sghms.ac.uk>; Wed, 11 Sep 2002 21:05:05 +0100 (BST) Date: Wed, 11 Sep 2002 21:05:11 +0100 From: Adam Witney Subject: Re: 7.2.2 upgrade, pg_dumpall / reload problem In-reply-to: <19614.1031670173@sss.pgh.pa.us> To: Tom Lane Cc: 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/130 X-Sequence-Number: 5669 On 10/9/02 4:02 pm, "Tom Lane" wrote: > Adam Witney writes: >> I just upgraded from 7.2 to 7.2.2 using Mark Liyanage's prebuilt MacOSX 10.2 >> package >> ... >> 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 > > Yeah. This is a problem in the 7.2 pg_dumpall: it's careless about quoting > database names. You'll need to hand-edit the dump script to fix it. > > (But hmm ... actually I thought the fix for that issue was a band-aid > patch in psql. Are you sure you are invoking the 7.2.2 psql, and not > a 7.2 copy?) > > There wasn't any reason to do a dump and restore for a 7.2 to 7.2.2 > upgrade anyway, so if you haven't blown away your old $PGDATA directory > yet, I'd counsel just forgetting the dump and starting your new > postmaster in the old data directory. A dump made with 7.2.2's pg_dump > should work okay. > > regards, tom lane Yes, I discovered that when I restarted the server after I 'upgraded' I was still running 7.2!! problem is with the installer package I downloaded it is impossible to tell what it actually did! Anyway, scrapped that idea and have just installed 7.2.2 using fink and all is fine Thanks Adam