Skip to content

Commit ca0aecf

Browse files
committed
Add example showing how to remove a password from a role.
Andreas Scherbaum
1 parent c0cf5c3 commit ca0aecf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/src/sgml/ref/alter_role.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.9 2007/09/03 18:46:29 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.10 2008/04/30 12:38:49 alvherre Exp $
33
PostgreSQL documentation
44
-->
55

@@ -217,6 +217,14 @@ ALTER ROLE davide WITH PASSWORD 'hu8jmn3';
217217
</programlisting>
218218
</para>
219219

220+
<para>
221+
Remove a role's password:
222+
223+
<programlisting>
224+
ALTER ROLE davide WITH PASSWORD NULL;
225+
</programlisting>
226+
</para>
227+
220228
<para>
221229
Change a password expiration date, specifying that the password
222230
should expire at midday on 4th May 2015 using

0 commit comments

Comments
 (0)