Search Postgresql Archives

Re: REVOKE ... FROM everybody?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian von Bidder wrote:
> Heyho!
> 
> As far as I understand, REVOKE .. FROM PUBLIC revokes rights that were given 
> to everybody.  Is there a way to revoke rights given to *any*body?  (all 
> users)?  Or do I misunderstand PUBLIC?

You're misunderstanding -- if you revoke from public, only the grant
given to public is revoked.  Grants to other roles are kept.  To revoke
all grants, you need to list them individually IIRC.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux