PG_USER_STATUS
PG_USER_STATUS records the states of users who access the database. This system catalog is accessible only to users with the SYSADMIN permission.
Name | Type | Description |
|---|---|---|
oid | oid | Row identifier (hidden attribute, which must be specified). |
roloid | oid | ID of a role. |
failcount | integer | Number of failed attempts. |
locktime | timestamp with time zone | Time at which the role is locked. |
rolstatus | smallint | Role state.
|
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. |
passwordexpired | smallint | Specifies whether a password is valid.
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

