52.63. pg\_user\_mapping

|  52.63. `pg_user_mapping`  |                   |                           |                  |                            |
|:--------------------------:|-------------------|---------------------------|------------------|----------------------------|
|[Prev](catalog-pg-type.html)|[Up](catalogs.html)|Chapter 52. System Catalogs|[Home](index.html)| [Next](views-overview.html)|

---

## 52.63. `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`](view-pg-user-mappings.html) instead.

**Table 52.64. `pg_user_mapping` Columns**

|                                                              Column Type<br/><br/> Description                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                            `oid` `oid`<br/><br/> Row identifier                                                            |
|`umuser` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> OID of the local role being mapped, or zero if the user mapping is public |
|`umserver` `oid` (references [`pg_foreign_server`](catalog-pg-foreign-server.html).`oid`)<br/><br/> The OID of the foreign server that contains this mapping|
|                                  `umoptions` `text[]`<br/><br/> User mapping specific options, as “keyword=value” strings                                  |

---

|[Prev](catalog-pg-type.html)|[Up](catalogs.html)| [Next](views-overview.html)|
|:---------------------------|:-----------------:|---------------------------:|
|      52.62. `pg_type`      |[Home](index.html) |     52.64. System Views    |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>