pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename some createuser options.
Date: Mon, 22 May 2023 03:09:46 +0000
Message-ID: <E1q0vve-0016iV-UY@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1q0vve-0016iV-UY@gemulon.postgresql.org>
Permalink:  ../E1q0vve-0016iV-UY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1q0vve-0016iV-UY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename some createuser options.
  In-Reply-To: <E1q0vve-0016iV-UY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox