Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca0aecf

Browse files
committed
Add example showing how to remove a password from a role.
Andreas Scherbaum
1 parentc0cf5c3 commitca0aecf

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)

[8]ページ先頭

©2009-2025 Movatter.jp