disable prompting by default in createuser - Mailing list pgsql-hackers

From Peter Eisentraut
Subject disable prompting by default in createuser
Date
Msg-id 1322263711.2104.12.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: disable prompting by default in createuser
Re: disable prompting by default in createuser
List pgsql-hackers
I propose that we change createuser so that it does not prompt for
anything by default.  We can arrange options so that you can get prompts
for whatever is missing, but by default, a call to createuser should
just run CREATE USER with default options.  The fact that createuser
issues prompts is always annoying when you create setup scripts, because
you have to be careful to specify all the necessary options, and they
are inconsistent and different between versions (although the last
change about that was a long time ago), and the whole behavior seems
contrary to the behavior of all other utilities.  I don't think there'd
be a real loss by not prompting by default; after all, we don't really
want to encourage users to create more superusers, do we?  Comments?




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: separate initdb -A options for local and host
Next
From: Bruce Momjian
Date:
Subject: Re: Add pg_upgrade ENABLE_SAME_CATVERSION_UPGRADES macro for testing to