Re: Dumping roles improvements? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Dumping roles improvements?
Date
Msg-id 4E95E78D.3040209@agliodbs.com
Whole thread Raw
In response to Re: Dumping roles improvements?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dumping roles improvements?
Re: Dumping roles improvements?
List 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


pgsql-hackers by date:

Previous
From: Phil Sorber
Date:
Subject: Re: patch: move dumpUserConfig call in dumpRoles function of pg_dumpall.c
Next
From: Robert Haas
Date:
Subject: Re: [v9.2] Object access hooks with arguments support (v1)