Re: [HACKERS] Reloading a 6.3db into 6.4.1t

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: stanb(at)awod(dot)com (Stan Brown)
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] Reloading a 6.3db into 6.4.1t
Date: 1999-01-04 04:44:13
Message-ID: 199901040444.XAA02796@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-01-04 06:22:33 Re: [HACKERS] Error creating index
Previous Message Stan Brown 1999-01-04 03:49:11 Reloading a 6.3db into 6.4.1