From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: postgresql.20.j_random_hacker@spamgourmet.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Proposal for restoring a dump into a database with a different owner
Date: Mon, 30 Jun 2008 16:05:36 -0400
Message-ID: <4380.1214856336@sss.pgh.pa.us> (raw)
In-Reply-To: <200806301950.m5UJo6p03894@momjian.us>
References: <200806301950.m5UJo6p03894@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> 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.
We already have REASSIGN OWNED, though that doesn't entirely do the job
because it doesn't worry about reassigning grants. Reassigning grants
seems like a big headache for the --map-users proposal too.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, postgresql.20.j_random_hacker@spamgourmet.com
Subject: Re: Proposal for restoring a dump into a database with a different owner
In-Reply-To: <4380.1214856336@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox