Rename some createuser options.

Nathan Bossart <nathan@postgresql.org>

Commit: 2dcd1578c40153250836df62f625863056c28a81
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2023-05-22T03:06:38Z
Releases: 16.0
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

Files

Documentation touched

Discussion