Re: Updated TODO item - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Updated TODO item
Date
Msg-id 200201031721.g03HLBK16195@candle.pha.pa.us
Whole thread Raw
In response to Re: Updated TODO item  (Thomas Swan <tswan-lst@ics.olemiss.edu>)
Responses Re: Updated TODO item  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Thomas Swan wrote:
> Bruce Momjian wrote:
> 
> >TODO:  I have added a syntax suggested by someone on IRC:
> >
> >* Make it easier to create a database owned by someone who can't createdb,
> >  perhaps CREATE DATABASE dbname WITH USER = "user"
> >  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> Perhaps  "CREATE DATABASE dbname WITH USER username" would fit a little 
> better.   I'd love to see this one get done... ;-)

Well, I had the equals sign because the documentation for other params
suggests it:
CREATE DATABASE name    [ WITH [ LOCATION = 'dbpath' ]           [ TEMPLATE = template ]           [ ENCODING =
encoding] ]
 

Maybe we should make the equals optional for all these options.

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: LWLock contention: I think I understand the problem
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: Announcement: libpkixpq 0.1 released