Syntax
Revoke database privileges from a user.Parameters
Revoke privileges on future objects
To revoke privileges that would automatically apply to future objects created by a user, use theALTER DEFAULT PRIVILEGES command. This removes the need to revoke permissions manually for each new object.
Example
Revoke all privileges for all sources inschema1 from user user1.
schema1.mv1 from user user1.
s1 from user user1.