pg_user_mappings
pg_user_mappings#
The pg_user_mappings
view provides access to information about user mappings. This view is essentially a public-readble view of the pg_user_mapping
system catalog table that omits the options field if the user does not have access rights to view it.
column |
type |
references |
description |
---|---|---|---|
|
oid |
pg_user_mapping.oid |
OID of the user mapping. |
|
oid |
pg_foreign_server.oid |
OID of the foreign server that contains this mapping. |
|
text |
pg_foreign_server.srvname |
Name of the foreign server. |
|
oid |
pg_authid.oid |
OID of the local role being mapped, 0 if the user mapping is public. |
|
name |
Name of the local user to be mapped. |
|
|
text[] |
User mapping-specific options, as “keyword=value” strings. |