Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-01-03 17:24:47
Subject: Re: pg_regress.sh startup failure patch
Previous:From: Tom LaneDate: 2002-01-03 16:47:06
Subject: Re: pg_regress.sh startup failure patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group