pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedIssue with grant & revoke
2+ messages / 2 participants
[nested] [flat]
* Issue with grant & revoke
@ 2018-01-18 12:32 Venkataramana Aitla <avr1984@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Venkataramana Aitla @ 2018-01-18 12:32 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
Hi Team,
How can we revoke alter and drop privileges from user/schema...??
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Issue with grant & revoke
@ 2018-01-18 13:08 Laurenz Albe <laurenz.albe@cybertec.at>
parent: Venkataramana Aitla <avr1984@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2018-01-18 13:08 UTC (permalink / raw)
To: Venkataramana Aitla <avr1984@gmail.com>; pgsql-admin@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-01-18 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 12:32 Issue with grant & revoke Venkataramana Aitla <avr1984@gmail.com>
2018-01-18 13:08 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox