Re: Updated TODO item

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Thomas Swan <tswan-lst(at)ics(dot)olemiss(dot)edu>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Updated TODO item
Date: 2002-01-03 17:21:11
Message-ID: 200201031721.g03HLBK16195@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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(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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-03 17:27:01 Re: PGSQL - FAQ 4.1
Previous Message Bruce Momjian 2002-01-03 17:16:31 Re: LWLock contention: I think I understand the problem

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-01-03 17:24:47 Re: pg_regress.sh startup failure patch
Previous Message Tom Lane 2002-01-03 16:47:06 Re: pg_regress.sh startup failure patch