REVOKE privilege [, ...] ON object [, ...] FROM { PUBLIC | GROUP groupname | username }
A privilege to revoke. Specify SELECT, INSERT, UPDATE, or DELETE to revoke the privilege to use the corresponding command. Use RULE to revoke the privilege to create rules on a table. Use ALL to remove all privileges on a table or other object.
The name of the object from which you wish to revoke privileges. This object can be a table, view, or sequence.
The name of a group from which to revoke privileges.
The name of a PostgreSQL user from which to revoke privileges.
The keyword that revokes specified privileges from all PostgreSQL users.
The message returned when privileges are successfully revoked.
The error returned if object does not exist in the connected database.
The error returned if user does not exist.
The error returned if group does not exist.
Use REVOKE to remove privileges to an object of which you are the owner. You can revoke privileges from a specific user, from a group, or from all users (by specifying the PUBLIC keyword).