From https://www.postgresql.org/docs/9.5/static/view-pg-user.html under "System Catalogs"
The view pg_user provides access to information about database users. This is simply a publicly readable view of pg_shadow that blanks out the password field.
Is pg_user a view or a catalog?
pg_useris described under "System Catalogs" in the postgresq manual, which seems to suggestpg_useris a catalog/database. ( Am I correct that a catalog is the same concept as a database? (I learned this from a highly upvoted post)?)But the quote calls
pg_usera view. Which database's view ispg_user? I didn't find the answer in the link, but I have seenpg_catalog.pg_userworks. Butpg_catalogis not a catalog or database, but a schema of any database.
Thanks.