Re: [HACKERS] disable prompting by default in createuser

2012-02-05 Thread Josh Kupershmidt
On Wed, Feb 1, 2012 at 1:13 PM, Peter Eisentraut wrote: > On sön, 2012-01-15 at 18:14 -0500, Josh Kupershmidt wrote: >> I see this patch includes a small change to dropuser, to make the >> 'username' argument mandatory if --interactive is not set, for >> symmetry with createuser's new behavior. Th

Re: [HACKERS] disable prompting by default in createuser

2012-02-01 Thread Peter Eisentraut
On sön, 2012-01-15 at 18:14 -0500, Josh Kupershmidt wrote: > I see this patch includes a small change to dropuser, to make the > 'username' argument mandatory if --interactive is not set, for > symmetry with createuser's new behavior. That's dandy, though IMO we > shouldn't have "-i" be shorthand f

Re: [HACKERS] disable prompting by default in createuser

2012-01-15 Thread Josh Kupershmidt
On Thu, Dec 22, 2011 at 2:26 PM, Peter Eisentraut wrote: > On lör, 2011-11-26 at 01:28 +0200, Peter Eisentraut wrote: >> 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

Re: [HACKERS] disable prompting by default in createuser

2011-12-22 Thread Peter Eisentraut
On lör, 2011-11-26 at 01:28 +0200, Peter Eisentraut wrote: > 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 wi

Re: [HACKERS] disable prompting by default in createuser

2011-11-25 Thread Robert Haas
On Fri, Nov 25, 2011 at 6:28 PM, Peter Eisentraut wrote: > 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 wit

[HACKERS] disable prompting by default in createuser

2011-11-25 Thread Peter Eisentraut
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 alw