pgsql: createuser: Disable prompting by default - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: createuser: Disable prompting by default
Date
Msg-id E1RukcV-0005sT-FM@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: When building with LWLOCK_STATS, initialize the stats in LWLockW
Next
From: Robert Haas
Date:
Subject: pgsql: pg_dump: Further reduce reliance on global variables.