Re: revoke on database not working as expected

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stijn Hoop <stijn(at)win(dot)tue(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: revoke on database not working as expected
Date: 2005-08-29 19:07:59
Message-ID: 11890.1125342479@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stijn Hoop <stijn(at)win(dot)tue(dot)nl> writes:
> template1=# revoke all on database privtest from testpriv;

That doesn't do what you evidently think it does --- it revokes the
right to create temp tables, and the right to create new schemas, but
not every right in existence. Please read the GRANT/REVOKE manual
pages. (Hint: revoking CREATE on the public schema would get you closer
to what you want.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stijn Hoop 2005-08-29 20:00:48 Re: revoke on database not working as expected
Previous Message Tom Lane 2005-08-29 19:00:39 Re: max_connections