doc: Correct ALTER USER MAPPING example
authorPeter Eisentraut
Tue, 20 Sep 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut
Tue, 20 Sep 2016 16:00:00 +0000 (12:00 -0400)
The existing example threw an error.

From: gabrielle 

doc/src/sgml/ref/alter_user_mapping.sgml

index d0ddd1370b9b32b2c00f5a896739cdffb9b65487..21750d521c2d4359c0d349d7f883650f3d56919f 100644 (file)
@@ -89,9 +89,9 @@ ALTER USER MAPPING FOR { user_name
   Examples
 
   
-   Change the password for user mapping bob, server foo:
+   Change the password for user mapping bob, server foo:
 
-ALTER USER MAPPING FOR bob SERVER foo OPTIONS (user 'bob', password 'public');
+ALTER USER MAPPING FOR bob SERVER foo OPTIONS (SET password 'public');