pg_user_mapping
The catalog pg_user_mapping stores the mappings from local user to remote. Access to this catalog is restricted from normal users, use the view pg_user_mappings instead.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- kind
- catalog
- lang
- en
- measured attributes
- true
- metadata release
- 18.6
- runtime columns
- oid, umuser, umserver, umoptions
- runtime verified
- false
- source
- english-manual
Definition PG 18
The catalog pg_user_mapping stores the mappings from local user to remote. Access to this catalog is restricted from normal users, use the view pg_user_mappings instead.
Catalog columns
| Column | Type | Nullability | Description |
|---|---|---|---|
| oid | oid | Not null | Row identifier |
| umuser | oid | Not null | OID of the local role being mapped, or zero if the user mapping is public |
| umserver | oid | Not null | The OID of the foreign server that contains this mapping |
| umoptions | text[] | Nullable | User mapping specific options, as “keyword=value” strings |
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · catalog-bilingual-repair:30266054030f0b15264cd2635cf5d4e19ccc5b7cdfa6c551415c3b0cb7cce00e
Text language: en · catalog-bilingual-repair:30266054030f0b15264cd2635cf5d4e19ccc5b7cdfa6c551415c3b0cb7cce00e