aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-05-23 19:34:09 -0700
committerNathan Bossart <nathan@postgresql.org>2023-05-23 19:35:05 -0700
commit381d19b3ea0e7593d30a3af8df20d92bbccb775f (patch)
treed690ce25ff440211b78339a876ecb62041112fe1 /doc/src
parentbe3f62ae6e9839b10db0052a973e5fdc5b789abc (diff)
downloadpostgresql-381d19b3ea0e7593d30a3af8df20d92bbccb775f.tar.gz
postgresql-381d19b3ea0e7593d30a3af8df20d92bbccb775f.zip
Document deprecated createuser option.
2dcd1578c4 left the --role option undocumented, which is inconsistent with other deprecated options such as pg_dump's --blobs and --no-blobs. This change adds --role back to createuser's documentation and usage output and marks it as deprecated. Suggested-by: Peter Eisentraut Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/0e85c9e7-4804-1cdb-5a4a-c72c328f9ad8%40enterprisedb.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/createuser.sgml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml
index ba7ed1f8531..5c34c623423 100644
--- a/doc/src/sgml/ref/createuser.sgml
+++ b/doc/src/sgml/ref/createuser.sgml
@@ -150,6 +150,7 @@ PostgreSQL documentation
<varlistentry>
<term><option>-g <replaceable class="parameter">role</replaceable></option></term>
<term><option>--member-of=<replaceable class="parameter">role</replaceable></option></term>
+ <term><option>--role=<replaceable class="parameter">role</replaceable></option> (deprecated)</term>
<listitem>
<para>
Specifies the new role should be automatically added as a member