postgresql_16:7.1.164.3 Examples
PostgreSQL 16 > Reference > SQL Commands > REVOKE > Examples
Revoke insert privilege for the public on table films: REVOKE INSERT ON films FROM PUBLIC;
Revoke all privileges from user manuel on view kinds: REVOKE ALL PRIVILEGES ON kinds FROM manuel; Note that this actually means “revoke all privileges that I granted”.
Revoke membership in role admins from user joe: REVOKE admins FROM joe;