pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。
pg_user_mappings #视图pg_user_mappings提供用户映射的信息。它本质上是 pg_user_mapping 的公开可读视图, 但如果用户没有使用相应选项的权限,则会省略选项字段。
表 45.70. pg_user_mappings 列
| Name | Type | References | Description |
|---|---|---|---|
umid |
oid |
|
OID of the user mapping |
srvid |
oid |
|
The OID of the foreign server that contains this mapping |
srvname |
text |
Name of the foreign server | |
umuser |
oid |
|
OID of the local role being mapped, 0 if the user mapping is public |
usename |
name |
Name of the local user to be mapped | |
umoptions |
text[] |
User mapping specific options, as “keyword=value” strings, if the current user is the owner of the foreign server, else null |
译文有误、术语不当或页面显示问题,请到译文仓库 pgsty/pgdoc 报告译文问题。 英文原文本身的问题,请在当前版本的对应页面向上游反馈;上游不再修订已结束维护的版本。