• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. Developer Guide
  4. Systems Tables and Views
  5. PG_USER_STATUS

PG_USER_STATUS

PG_USER_STATUS lists the states of users accessing the database.

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.