From: | Bruno LEVEQUE <bruno(dot)leveque(at)net6d(dot)com> |
---|---|
To: | Rich Cullingford <rculling(at)sysd(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Moving a database AND changing the superuser |
Date: | 2003-12-15 15:54:56 |
Message-ID: | 3FDDD950.7020400@net6d.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
In my opinion, the only thing you need to change is the name of the
superuser in your dump file.
Bruno
Rich Cullingford wrote:
> All,
> I did a pg_dumpall in preparation for moving one of our databases from
> PG7.3 to PG7.4, but I just realized I have another problem: that DB
> (which has served us faithfully for some time) was created for
> superuser 'postgres,' whilst our new DBs use a superuser name that's
> aligned with our product. I'm expecting conflicts when I try to
> restore the data into a 'new' DB. Am I right, and if so, what can I
> do? (I know I could just try it, but the old database machine will be
> disappearing soon, and if I need to do a different kind of dump -- per
> DB, for example -- I need to know that soonest.)
> Thanks,
> Rich Cullingford
> System Detection, Inc.
> rculling(at)sysd(dot)com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno(dot)leveque(at)net6d(dot)com
http://www.net6d.com
From | Date | Subject | |
---|---|---|---|
Next Message | Marek Florianczyk | 2003-12-15 15:56:24 | Re: Moving a database AND changing the superuser |
Previous Message | EOsorio | 2003-12-15 15:50:49 | Unsubscribe |