当前位置:网站首页>GBase 8c系统表-pg_authid
GBase 8c系统表-pg_authid
2022-07-03 02:18:00 【大壮十二】
pg_authid系统表存储有关数据库认证标识符(角色)的信息。角色把“用户”的概念包含在内。一个用户实际上就是一个rolcanlogin标志被设置的角色。任何角色(不管rolcanlogin设置与否)都能够把其他角色作为成员。
在一个集群中只有一份pg_authid,不是每个数据库有一份。需要有系统管理员权限才可以访问此系统表。
名字 | 类型 | 描述 |
oid | oid | 行标识符(隐藏属性,必须被显式选择才会显示) |
rolname | name | 角色名 |
rolsuper | bool | 角色是否拥有超级用户权限 |
rolinherit | bool | 如果本角色是另一个角色的成员,本角色是否自动另一个角色的权限 |
rolcreaterole | bool | 角色是否能创建更多角色 |
rolcreatedb | bool | 角色是否能创建数据库 |
rolcanlogin | bool | 角色是否能登录。即该角色是否能够作为初始会话授权标识符 |
rolreplication | bool | 角色是否为一个复制角色。一个复制角色可以开启复制连接和创建删除复制槽。 |
rolbypassrls | bool | 角色是否可以绕过所有的行级安全性策略 |
rolconnlimit | int4 | 对于可以登录的角色,本列设置该角色可以同时发起最大连接数。-1表示无限制。 |
rolpassword | text | 口令(可能被加密),如果没有则为空。格式取决于所使用的加密形式。 |
rolvaliduntil | timestamptz | 口令过期时间(只用于口令鉴定),如果永不过期则为空 |
边栏推荐
- Awk from getting started to getting into the ground (3) the built-in functions printf and print of awk realize formatted printing
- A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?
- Explore the conversion between PX pixels and Pt pounds, mm and MM
- [Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
- How can retail enterprises open the second growth curve under the full link digital transformation
- 可视化yolov5格式数据集(labelme json文件)
- oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???
- Socket programming
- Return a tree structure data
- What are MySQL locks and classifications
猜你喜欢
UDP receive queue and multiple initialization test
awk从入门到入土(0)awk概述
Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
全链路数字化转型下,零售企业如何打开第二增长曲线
Deep learning notes (constantly updating...)
返回一个树形结构数据
elastic stack
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
Awk from introduction to earth (0) overview of awk
可視化yolov5格式數據集(labelme json文件)
随机推荐
詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
5. File operation
Hard core observation 547 large neural network may be beginning to become aware?
Unrecognized SSL message, plaintext connection?
Answers to ten questions about automated testing software testers must see
4. 类和对象
MySQL learning 03
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
Servlet中数据传到JSP页面使用el表达式${}无法显示问题
力扣(LeetCode)183. 从不订购的客户(2022.07.02)
Socket编程
require.context
awk从入门到入土(2)认识awk内置变量和变量的使用
Where is the future of test engineers? Confused to see
Leetcode 183 Customers who never order (2022.07.02)
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
How do it students find short-term internships? Which is better, short-term internship or long-term internship?
Machine learning process and method
elastic stack
The technology boss is ready, and the topic of position C is up to you