aboutsummaryrefslogtreecommitdiffstats
path: root/src/_pgsql_utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/_pgsql_utils')
-rw-r--r--src/_pgsql_utils6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/_pgsql_utils b/src/_pgsql_utils
index 84515f1..b5d92da 100644
--- a/src/_pgsql_utils
+++ b/src/_pgsql_utils
@@ -392,6 +392,7 @@ _createuser () {
{-d,--createdb}'[role can create new databases]' \
{-D,--no-createdb}'[role cannot create databases]' \
{-E,--encrypted}'[encrypt stored password]' \
+ {-g,--role=}'[new role will be a member of this role]' \
{-i,--inherit}'[role inherits privileges of roles it is a member of (default)]' \
{-I,--no-inherit}'[role does not inherit privileges]' \
{-l,--login}'[role can login (default)]' \
@@ -401,7 +402,10 @@ _createuser () {
{-r,--createrole}'[role can create new roles]' \
{-R,--no-createrole}'[role cannot create roles]' \
{-s,--superuser}'[role will be superuser]' \
- {-S,--no-superuser}'[role will not be superuser]'
+ {-S,--no-superuser}'[role will not be superuser]' \
+ {--interactive}'[prompt for missing role name and attributes rather than using defaults]' \
+ {--replication}'[role can initiate replication]' \
+ {--no-replication}'[role cannot initiate replication]' \
}
_dropuser () {