From: Alvaro Herrera Date: Wed, 30 Apr 2008 12:38:49 +0000 (+0000) Subject: Add example showing how to remove a password from a role. X-Git-Tag: REL8_4_BETA1~1475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0aecfdefbca04f2a6ed05044f9cafc3605389f;p=postgresql Add example showing how to remove a password from a role. Andreas Scherbaum --- diff --git a/doc/src/sgml/ref/alter_role.sgml b/doc/src/sgml/ref/alter_role.sgml index a471095e49..069d81bbcd 100644 --- a/doc/src/sgml/ref/alter_role.sgml +++ b/doc/src/sgml/ref/alter_role.sgml @@ -1,5 +1,5 @@ @@ -217,6 +217,14 @@ ALTER ROLE davide WITH PASSWORD 'hu8jmn3'; + + Remove a role's password: + + +ALTER ROLE davide WITH PASSWORD NULL; + + + Change a password expiration date, specifying that the password should expire at midday on 4th May 2015 using