Re: Dumping roles improvements?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dumping roles improvements?
Date: 2011-10-12 19:16:29
Message-ID: 4E95E78D.3040209@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/11/11 9:43 PM, Tom Lane wrote:
> I don't find this terribly convincing. I can see the rationales for two
> endpoint cases: (1) restore these objects into exactly the same
> ownership/permissions environment that existed before, and (2) restore
> these objects with the absolute minimum of ownership/permissions
> assumptions. The latter case seems to me to be covered already by
> --no-owner --no-privileges.

But what I'm asking for is (1). The problem is that the roles don't
ship in the per-database pgdump file.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-10-12 19:17:54 Re: [v9.2] Object access hooks with arguments support (v1)
Previous Message Tom Lane 2011-10-12 18:52:54 Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME