PG_SHADOW
PG_SHADOW displays the attributes of all roles marked with rolcanlogin in PG_AUTHID. Only the system administrator can access this system view.
The name stems from the fact that this view should not be readable by the public since it contains passwords. PG_USER is a publicly readable view on PG_SHADOW that blanks out the password column.
Name |
Type |
Reference |
Description |
---|---|---|---|
usename |
name |
rolname in PG_AUTHID |
Username |
usesysid |
oid |
OID in PG_AUTHID |
ID of this user |
usecreatedb |
boolean |
- |
Whether the user has the permission to create databases
|
usesuper |
boolean |
- |
Whether the user is a system administrator
|
usecatupd |
boolean |
- |
Whether the user can update a view. Even the system administrator cannot do this unless this column is true.
|
userepl |
boolean |
- |
Whether the user can initiate streaming replication and put the system in and out of backup mode
|
passwd |
text |
- |
Password (possibly encrypted); null if none. See PG_AUTHID for details about how encrypted passwords are stored. |
valbegin |
timestamp with time zone |
- |
Start time for account validity (NULL if start time is not specified). |
valuntil |
timestamp with time zone |
- |
End time for account validity (NULL if end time is not specified). |
respool |
name |
- |
Resource pool used by the user |
parent |
oid |
- |
Parent resource pool |
spacelimit |
text |
- |
Storage space of the permanent table |
useconfig |
text[ ] |
- |
Session defaults for runtime configuration variables |
tempspacelimit |
text |
- |
Storage space of the temporary table |
spillspacelimit |
text |
- |
Operator disk flushing space |
usemonitoradmin |
boolean |
- |
Whether the user is a monitor administrator
|
useoperatoradmin |
boolean |
- |
Whether the user is an O&M administrator
|
usepolicyadmin |
boolean |
- |
Whether the user is a security policy administrator
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot