Skip site navigation (1) Skip section navigation (2)

Re: Allow GRANT/REVOKE permissions to be applied to all

From: Richard Huxton <dev(at)archonet(dot)com>
To: josh(at)agliodbs(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow GRANT/REVOKE permissions to be applied to all
Date: 2005-02-01 08:59:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Josh Berkus wrote:
> And overall, I'd think it would make the feature a *lot* less useful; 
> basically it would encourage a lot of DBAs to organize their schemas by 
> security level, which is not really what schemas are for.
>>This does seem conceptually cleaner than GRANT ON NEW TABLES, which to
>>me has a flavor of action-at-a-distance about it.  Does anyone see any
>>cases where it's really important to have the distinction between acting
>>on existing tables and acting on future tables?
> Databases which are already in production.  I suggested it, of course, because 
> I would utilize the distinction if it was available.   I don't know about 
> other users.

Do we perhaps want a pg_find tool instead, rather than getting too 
clever inside the backend?

pg_find --type=table --schema=foo --name='system_*' --execute='GRANT ALL 
  ON % TO myuser'

   Richard Huxton
   Archonet Ltd

In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2005-02-01 09:53:48
Subject: Re: 7.2.7 -> 8.0.1 Bundles Ready ...
Previous:From: John HansenDate: 2005-02-01 07:31:30
Subject: Re: [NOVICE] Last ID Problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group