- The right to modify or destroy an object is always the privilege of
- the owner only.
+ The right to modify or destroy an object is inherent in being the
+ object's owner, and cannot be granted or revoked in itself.
+ (However, like all privileges, that right can be inherited by
+ members of the owning role; see .)
- To revoke a privilege, use the fittingly named
+ To revoke a previously-granted privilege, use the fittingly named
command:
REVOKE ALL ON accounts FROM PUBLIC;
- The special privileges of the object owner (i.e., the right to do
- DROP, GRANT, REVOKE, etc.)
- are always implicit in being the owner,
- and cannot be granted or revoked. But the object owner can choose
- to revoke their own ordinary privileges, for example to make a
- table read-only for themselves as well as others.
reference pages.
+ An object's owner can choose to revoke their own ordinary privileges,
+ for example to make a table read-only for themselves as well as others.
+ But owners are always treated as holding all grant options, so they
+ can always re-grant their own privileges.
+
+
The available privileges are:
-
+
Declarative Partitioning Best Practices