]> granicus.if.org Git - postgresql/commitdiff
Add example showing how to remove a password from a role.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 30 Apr 2008 12:38:49 +0000 (12:38 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 30 Apr 2008 12:38:49 +0000 (12:38 +0000)
Andreas Scherbaum

doc/src/sgml/ref/alter_role.sgml

index a471095e4963d88b1d9379b8f751582ee9e2531b..069d81bbcd8cec7939068170960dc1ceca0d740d 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.9 2007/09/03 18:46:29 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.10 2008/04/30 12:38:49 alvherre Exp $
 PostgreSQL documentation
 -->
 
@@ -217,6 +217,14 @@ ALTER ROLE davide WITH PASSWORD 'hu8jmn3';
 </programlisting>
   </para>
 
+  <para>
+   Remove a role's password:
+
+<programlisting>
+ALTER ROLE davide WITH PASSWORD NULL;
+</programlisting>
+  </para>
+
   <para>
    Change a password expiration date, specifying that the password
    should expire at midday on 4th May 2015 using