Re: Revoking CREATE TABLE

From: Adrian von Bidder <avbidder(at)fortytwo(dot)ch>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Revoking CREATE TABLE
Date: 2010-03-25 07:56:51
Message-ID: 201003250856.52822@fortytwo.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 24 March 2010 17.28:37 Tony Webb wrote:
> #revoke create on schema public from public;
> REVOKE

Note that this will *only* revoke the create right from "PUBLIC" and not
from any individual role that may have the right. PostgreSQL unfortunately
does not have a "revoke ... from ALL".

So you need to revoke from all individual roles that have the right on this
database/schema.

cheers
-- vbi

--
Vorteil kleiner Menschen: Sie werden bei Regen später naß.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2010-03-25 08:06:50 Re: Side effect of synchronous_commit = off
Previous Message Yan Cheng CHEOK 2010-03-25 07:49:52 Side effect of synchronous_commit = off