164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
PG_USER_STATUS.md 11.88 KB
一键复制 编辑 原始数据 按行查看 历史
tongdabao 提交于 2021-09-14 16:53 . add feature

PG_USER_STATUS

PG_USER_STATUS系统表提供了访问数据库用户的状态。需要有系统管理员权限才可以访问此系统表

表 1 PG_USER_STATUS字段

名称

类型

描述

oid

oid

行标识符(隐含字段,必须明确选择)。

roloid

oid

角色的标识。

failcount

integer

尝试失败次数。

locktime

timestamp with time zone

角色被锁定的时间点。

rolstatus

smallint

角色的状态。
  • 0:正常状态。
  • 1:由于登录失败次数超过阈值被锁定了一定的时间。
  • 2:被管理员锁定。

permspace

bigint

角色已经使用的永久表存储空间大小。

tempspace

bigint

角色已经使用的临时表存储空间大小。

passwordexpired

smallint

密码是否失效。

  • 0:密码有效。
  • 1:密码失效。
1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
2.1.0

搜索帮助