Re: create user problem

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Vince Vielhaber <vev(at)michvhf(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: create user problem
Date: 2001-07-09 21:37:19
Message-ID: 200107092137.f69LbJv22967@candle.pha.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.

Added to TODO:

* Allow CREATEUSER/CREATEDB ordering in CREATE/ALTER USER

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-07-09 21:44:27 Re: AW: New SQL Datatype RECURRINGCHAR
Previous Message Bruce Momjian 2001-07-09 21:31:35 Re: Improving pg_hba.conf