Re: Proposal for restoring a dump into a database with a different owner

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: postgresql(dot)20(dot)j_random_hacker(at)spamgourmet(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: Proposal for restoring a dump into a database with a different owner
Date: 2008-06-30 20:01:36
Message-ID: dcc563d10806301301q1fd902b6qed52671352a41523@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Jun 30, 2008 at 1:50 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> I see you didn't get a response this request. I am thinking it would be
> better to implement some form of massive change ownership option that
> can be done to change ownership after the dump is restored.

Currently the way I do that is to dump with the -O option, and then
restore to the user account I want everything to belong to.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2008-06-30 20:05:36 Re: Proposal for restoring a dump into a database with a different owner
Previous Message Bruce Momjian 2008-06-30 19:50:06 Re: Proposal for restoring a dump into a database with a different owner