本文共 619 字,大约阅读时间需要 2 分钟。
Privileges
When an object is created, it is assigned an owner. The owner is normally the role that executed the creation statement. For most kinds of objects, the initial state is that only the owner (or superuser) can do anything with the object. To allow other roles to use it, privileges must be granted.The right to modify or destroy an object is always the privilege of the owner only.
There are different kinds of privileges:
* SELECT * INSERT * UPDATE * DELETE * TRUNCATE * REFERENCES * TRIGGER * CREATE * CONNECT * TEMPORARY * EXECUTE * USAGEGRANT UPDATE ON accounts TO joe;REVOKE ALL ON accounts FROM PUBLIC;
转载地址:http://ghyvb.baihongyu.com/