4 The view pg_shadow exists for backwards compatibility: it emulates a
5 catalog that existed in PostgreSQL before version 8.1. It shows
6 properties of all roles that are marked as rolcanlogin in pg_authid.
8 The name stems from the fact that this table should not be readable by
9 the public since it contains passwords. pg_user is a publicly readable
10 view on pg_shadow that blanks out the password field.
12 Table 53.26. pg_shadow Columns
18 usename name (references pg_authid.rolname)
22 usesysid oid (references pg_authid.oid)
28 User can create databases
36 User can initiate streaming replication and put the system in and out
41 User bypasses every row-level security policy, see Section 5.9 for more
46 Encrypted password; null if none. See pg_authid for details of how
47 encrypted passwords are stored.
51 Password expiry time (only used for password authentication)
55 Session defaults for run-time configuration variables