Re: create user problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vince Vielhaber <vev(at)michvhf(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: create user problem
Date: 2001-06-13 18:53:18
Message-ID: 28843.992458398@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vince Vielhaber <vev(at)michvhf(dot)com> writes:
> mydb=# create user foo NOCREATEUSER NOCREATEDB in group bar;
> ERROR: parser: parse error at or near "NOCREATEDB"

> This line:
> [ CREATEDB | NOCREATEDB ] [ CREATEUSER | NOCREATEUSER ]
> does say I can do both, right?

It says you can do both *in that order*.

Feel free to submit a grammar patch to make CREATE USER more flexible
about the ordering of its optional clauses. Right now it's pretty
rigid.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Cianflone 2001-06-13 19:16:43 RE: vacuum
Previous Message Mark Volpe 2001-06-13 18:32:48 Setuid functions