pgsql: Rename some createuser options.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename some createuser options.
Date: 2023-05-22 03:09:46
Message-ID: E1q0vve-0016iV-UY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename some createuser options.

This change renames --admin to --with-admin, --role to --member-of,
and --member to --with-member. Many people found the previous
names to be confusing. The --admin and --member options are new in
v16, but --role has been there for a while, so that one has been
kept (but left undocumented) for backward compatibility.

Suggested-by: Peter Eisentraut
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/ZFvVZvQDliIWmOwg%40momjian.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2dcd1578c40153250836df62f625863056c28a81

Modified Files
--------------
doc/src/sgml/ref/createuser.sgml | 12 ++++++------
src/bin/scripts/createuser.c | 14 ++++++++------
src/bin/scripts/t/040_createuser.pl | 16 ++++++++++++++++
3 files changed, 30 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2023-05-22 03:39:52 pgsql: doc: PG 16 relnotes, improve description of standby log. decode
Previous Message Bruce Momjian 2023-05-22 02:53:06 pgsql: doc: PG 16 relnotes, misc merged items and bootstrap detail