Re: [HACKERS] Reloading a 6.3db into 6.4.1t
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: stanb@awod.com (Stan Brown)
Cc: pgsql-hackers@hub.org
Date: 1999-01-04T04:44:13Z
Lists: pgsql-hackers
> I am having problems reloading my 6.3 dump inot 6.4.1 Heres what I am > seeing: > > \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 > > What am I doing wrong here? Did you use pg_dump preseving the users, but did not user pg_dumpall, which creates the users. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026