Help Center > > Developer Guide> System Catalogs and System Views> System Catalogs> PG_USER_STATUS

PG_USER_STATUS

Updated at: Jul 15, 2020 GMT+08:00

PG_USER_STATUS records the states of users that access to the database. It is accessible only to users with system administrator rights.

Table 1 PG_USER_STATUS columns

Name

Type

Description

roloid

oid

ID of the role

failcount

integer

Specifies the number of failed attempts.

locktime

timestamp with time zone

Time at which the role is locked

rolstatus

smallint

Role state

  • 0: normal
  • 1 indicates that the role is locked for some time because the failed login attempts exceed the threshold
  • 2 indicates that the role is locked by the administrator.

permspace

bigint

Size of the permanent table storage space used by a role.

tempspace

bigint

Size of the temporary table storage space used by a role.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel