From: Adam Witney <awitney@sghms.ac.uk>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: 7.2.2 upgrade, pg_dumpall / reload problem
Date: Tue, 10 Sep 2002 09:08:57 +0100
Message-ID: <B9A36729.75EE%a.witney@sghms.ac.uk> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: awitney@sghms.ac.uk
Subject: Re: 7.2.2 upgrade, pg_dumpall / reload problem
In-Reply-To: <B9A36729.75EE%a.witney@sghms.ac.uk>
References: <B9A36729.75EE%a.witney@sghms.ac.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox