From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Doug McNaught <doug(at)wireboard(dot)com> |
Cc: | Kaare Rasmussen <kar(at)kakidata(dot)dk>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Updated TODO item |
Date: | 2002-01-04 19:04:00 |
Message-ID: | 200201041904.g04J40P12249@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Doug McNaught wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
> > > Shouldn't that be
> > >
> > > CREATE DATABASE dbname WITH OWNER = "user"
> > >
> > > ?
> >
> > Yes! OWNER is much better. TODO updated and I will save this message
> > for changes in 7.3:
>
> Will this make OWNER into a new keyword, and break schemas that have
> "owner" as a table or column name? USER is at least already a
> keyword...
We already use OWNER in ALTER TABLE so it is not really a new keyword:
| ALTER TABLE relation_name OWNER TO UserId
Also, its usage is limited to CREATE TABLE so I believe a column named
owner is still possible, as it is now.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Dwayne Miller | 2002-01-04 19:32:09 | Re: Syntax changes in 7.2 |
Previous Message | Doug McNaught | 2002-01-04 18:58:09 | Re: Updated TODO item |
From | Date | Subject | |
---|---|---|---|
Next Message | Jon Marks | 2002-01-04 21:39:15 | libpq seed PRNG for SSL support |
Previous Message | Doug McNaught | 2002-01-04 18:58:09 | Re: Updated TODO item |