Re: Issue with grant & revoke

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

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux