select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM CATALOGS

pg_user_mapping

Read PG 18 manual ↗

The catalog pg_user_mapping stores the mappings from local user to remote.

Kind
System catalogs
Columns in this snapshot
4
Definition source
English manual

Columns 4

ColumnTypeDescription / reference
oidoidRow identifier
umuseroidOID of the local role being mapped, or zero if the user mapping is public
pg_authid.oid
umserveroidThe OID of the foreign server that contains this mapping
pg_foreign_server.oid
umoptionstext[]User mapping specific options, as “keyword=value” strings
Column history across versions
Version history 4
  1. PG 13 → 14changed
  2. PG 11 → 12changed
  3. PG 9.6 → 10changed
  4. PG 9.2 → 9.3changed

Definition snapshot: english-manuals:10dfd978d6e3126606e6d6b64f8… · English manual source