|From:||Simon Riggs <simon(at)2ndQuadrant(dot)com>|
|To:||Petr Jelinek <pjmodos(at)pjmodos(dot)net>|
|Subject:||Re: GRANT ON ALL IN schema|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On Fri, 2009-07-03 at 12:44 +0200, Petr Jelinek wrote:
> Petr Jelinek wrote:
> > So, here is the first version of the patch.
> Attached is v2 with slightly improved code, nothing has changed
I would like to see
GRANT ... ON ALL OBJECTS ...
because I know that I will forget to do TABLES, VIEWS and SEQUENCES
every time I want to do this.
If we are aggregating all objects of a type, why not aggregate all
objects, so we just issue one command?
(I'm sure we can do something intelligent with privileges that don't
apply to all object types rather than just fail. e.g. UPDATE privilege
should be same as USAGE on a sequence.)
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
|Next Message||Andrew Dunstan||2009-07-07 11:21:17||Re: Maintenance Policy?|
|Previous Message||Peter Eisentraut||2009-07-07 10:20:12||Re: Small foreign key error message improvement|