Thread: pgsql: createuser: Disable prompting by default

pgsql: createuser: Disable prompting by default

From
Peter Eisentraut
Date:
createuser: Disable prompting by default

Do not prompt when options were not specified.  Assume --no-createdb,
--no-createrole, --no-superuser by default.

Also disable prompting for user name in dropdb, unless --interactive
was specified.

reviewed by Josh Kupershmidt

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a347f96b99741e44276cdd481a72d04f1b2ac5fc

Modified Files
--------------
doc/src/sgml/ref/createuser.sgml |   37 ++++++++++++++++++++++++++++---------
doc/src/sgml/ref/dropuser.sgml   |    7 +++++--
src/bin/scripts/createuser.c     |   35 +++++++++++++++++++++++++----------
src/bin/scripts/dropuser.c       |   14 ++++++++++++--
4 files changed, 70 insertions(+), 23 deletions(-)