Re: Copying Permissions - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Copying Permissions
Date
Msg-id CA+TgmoY7rqpgKzgsMraHjqVauO1MRa3BJXDsWab2UoUhuO_tMw@mail.gmail.com
Whole thread Raw
In response to Re: Copying Permissions  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Copying Permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Nov 8, 2016 at 9:48 AM, Stephen Frost <sfrost@snowman.net> wrote:
> Second, as always, what's the syntax going to actually be?  I don't
> think GRANT SAME PERMISSIONS is going to work out too well in the
> parser, and it seems a bit grotty to me anyway.  I do think this should
> be associated with GRANT rather than ALTER TABLE- GRANT is what we use
> for managing privileges on an object.

One thing to think about is that GRANT sort of implies adding
privileges, but this operation would both add and remove privileges as
necessary.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: IPv6 link-local addresses and init data type
Next
From: Robert Haas
Date:
Subject: Re: Danger of automatic connection reset in psql