Re: Issue with grant & revoke - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Issue with grant & revoke
Date
Msg-id 1516280891.924.45.camel@cybertec.at
Whole thread Raw
In response to Issue with grant & revoke  (Venkataramana Aitla <avr1984@gmail.com>)
List pgsql-admin
Venkataramana Aitla wrote:
> How can we revoke alter and drop privileges from user/schema...??

Use the GRANT and REVOKE statements:

https://www.postgresql.org/docs/current/static/sql-grant.html
https://www.postgresql.org/docs/current/static/sql-revoke.html

Read the chapter on privileges:

https://www.postgresql.org/docs/current/static/ddl-priv.html

Privileges are additive, so if you try to revoke a privilege
that was not granted, it will do nothing.

In psql, use \z to list a table's privileges and \dn+
to list privileges on a schema.

Yours,
Laurenz Albe


pgsql-admin by date:

Previous
From: Venkataramana Aitla
Date:
Subject: Issue with grant & revoke
Next
From: Davlet Panech
Date:
Subject: Re: Abnormally high memory usage/OOM triggered