Still having trouble importing 6.3 DB

From: "Stan Brown" <stanb(at)awod(dot)com>
To: pgsql-hackers(at)hub(dot)org
Subject: Still having trouble importing 6.3 DB
Date: 1999-01-05 02:33:42
Message-ID: 199901050234.VAA13989@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

AT Tom Lanes sugestion I upgraded to 6.4.2. While this was undoubtably
a good die, it did not solve the basic problem.

I am runing as the postgres superuser, and trying to inport the data
from my 6.3 databse inot my nice new 6.4.2 one. I am geting errors
almost as soon as the first non-postgres user is encuntered. Here is
the tail end of the atempt:

\connect template1 postgres
connecting to new database: template1 as user: postgres
create database stan;
QUERY: create database stan;
CREATEDB
\connect stan postgres
connecting to new database: stan as user: postgres
\connect - stan
connecting as new user: stan
FATAL 1: SetUserId: user 'stan' is not in 'pg_shadow'

Could not connect to new database. exiting

I am using the example from the INSTALL document to import this data,
that is:

psql -e template1 < db.out

I can connect to this db using psql, and I have run creatdb.
What is this pg_shadow & how do I fix it?

Or do I need to create the varios database first before doing the
import?

Thanks.

--
Stan Brown stanb(at)netcom(dot)com 843-745-3154
Westvaco
Charleston SC.
--
Windows 98: n.
useless extension to a minor patch release for 32-bit extensions and
a graphical shell for a 16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor, written by a 2-bit
company that can't stand for 1 bit of competition.
-
(c) 1999 Stan Brown. Redistribution via the Microsoft Network is prohibited.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-01-05 03:18:32 Re: [HACKERS] Still having trouble importing 6.3 DB
Previous Message Clark Evans 1999-01-05 00:58:45 XML/SGML