Restoring the DB from others user DB Backup. - Mailing list pgsql-general

From Mavinakuli, Prasanna (STSD)
Subject Restoring the DB from others user DB Backup.
Date
Msg-id FFE5D42C74BFBE48A79FA506C15E1E7C068061BA@bgeexc04.asiapacific.cpqcorp.net
Whole thread Raw
Responses Re: Restoring the DB from others user DB Backup.
List pgsql-general
Hello,

We have 2 altogether databases owned by two different users.The
requirement is ,by using a back up dump of a database owned by some
other user,We will need to restore the other DB which is owned
completely by other user.

The problem what we are facing is,if we try to use pg_restore
command,then it cribbs saying the user doesn't exist.So could you please
direct me for a way to achieve this.Unfortunately I have to use
postgreSQL 7.4.2 version where there is no support for -O option.

Thanks a lot for all your support,
Prasanna.


pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: dropdb ; createdb equivalent without createdb permission?
Next
From: "E.J. Moloney"
Date:
Subject: Vacuum issue