aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_user_mapping.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/create_user_mapping.sgml')
-rw-r--r--doc/src/sgml/ref/create_user_mapping.sgml12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_user_mapping.sgml b/doc/src/sgml/ref/create_user_mapping.sgml
index 6d40eaf936b..ab7ff7fdb10 100644
--- a/doc/src/sgml/ref/create_user_mapping.sgml
+++ b/doc/src/sgml/ref/create_user_mapping.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_user_mapping.sgml,v 1.4 2009/02/27 07:20:00 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_user_mapping.sgml,v 1.5 2009/06/18 14:34:36 petere Exp $
PostgreSQL documentation
-->
@@ -31,7 +31,10 @@ CREATE USER MAPPING FOR { <replaceable class="parameter">username</replaceable>
<para>
<command>CREATE USER MAPPING</command> defines a mapping of a user
- to a foreign server.
+ to a foreign server. A user mapping typically encapsulates
+ connection information that a foreign-data wrapper uses together
+ with the information encapsulated be a foreign server to access an
+ external data resource.
</para>
<para>
@@ -52,8 +55,9 @@ CREATE USER MAPPING FOR { <replaceable class="parameter">username</replaceable>
<para>
The name of an existing user that is mapped to foreign server.
<literal>CURRENT_USER</> and <literal>USER</> match the name of
- the current user. <literal>PUBLIC</> is used to match all
- present and future user names in the system.
+ the current user. When <literal>PUBLIC</> is specified, a
+ so-called public mapping is created that is used when no
+ user-specific mapping is applicable.
</para>
</listitem>
</varlistentry>