diff --git a/doc/src/sgml/ref/alter_user.sgml b/doc/src/sgml/ref/alter_user.sgml index e6c5ac54d7a..a37424cd26d 100644 --- a/doc/src/sgml/ref/alter_user.sgml +++ b/doc/src/sgml/ref/alter_user.sgml @@ -1,5 +1,5 @@ @@ -124,7 +124,8 @@ ALTER USER username RESET The date (and, optionally, the time) - at which this user's password is to expire. + at which this user's password is to expire. To set the password + never to expire, use 'infinity'. @@ -232,6 +233,13 @@ ALTER USER chris VALID UNTIL 'May 4 12:00:00 1998 +1'; + + Make a user valid forever: + +ALTER USER fred VALID UNTIL 'infinity'; + + + Give a user the ability to create other users and new databases: