博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
postgres 权限相关操作
阅读量:2342 次
发布时间:2019-05-10

本文共 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
* USAGE

GRANT UPDATE ON accounts TO joe;REVOKE ALL ON accounts FROM PUBLIC;

转载地址:http://ghyvb.baihongyu.com/

你可能感兴趣的文章
浅析stack around the variable was corrupted
查看>>
RGB与YUV转换
查看>>
YUV转RGB的相关函数
查看>>
ES(Elasticsearch)排序与相关性
查看>>
ES(Elasticsearch)分片内部原理
查看>>
Java IO(概述)
查看>>
Java IO(文件、管道、字节和字符数组)
查看>>
Java IO(流、Reader And Writer、异常处理)
查看>>
Java IO(RandomAccessFile、File、PipedInputStream、PipedOutputStream)
查看>>
Java NIO(二) Channel
查看>>
Java NIO(三) Buffer
查看>>
Java NIO(五) Selector
查看>>
Java NIO(六)SocketChannel、ServerSocketChannel
查看>>
6 Netty 架构剖析
查看>>
Netty简介
查看>>
Redis,API的理解和使用-全局命令
查看>>
shell之eval
查看>>
postgresql基本操作
查看>>
SQLAlchemy使用
查看>>
word设置标题
查看>>