]> granicus.if.org Git - postgresql/commitdiff
doc: Correct ALTER USER MAPPING example
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 20 Sep 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 20 Sep 2016 16:00:00 +0000 (12:00 -0400)
The existing example threw an error.

From: gabrielle <gorthx@gmail.com>

doc/src/sgml/ref/alter_user_mapping.sgml

index 3a908130d86ce9d4dc9242cdf2c02ed1395171c9..3be54afee552812cb8302e3dfcf73303b485a32c 100644 (file)
@@ -89,9 +89,9 @@ ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable>
   <title>Examples</title>
 
   <para>
-   Change the password for user mapping <literal>bob</>, server<literal> foo</>:
+   Change the password for user mapping <literal>bob</>, server <literal>foo</>:
 <programlisting>
-ALTER USER MAPPING FOR bob SERVER foo OPTIONS (user 'bob', password 'public');
+ALTER USER MAPPING FOR bob SERVER foo OPTIONS (SET password 'public');
 </programlisting></para>
 
  </refsect1>