Vince Vielhaber <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to