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

In response to

pgsql-hackers by date

Next:From: Dwayne MillerDate: 2002-01-04 19:32:09
Subject: Re: Syntax changes in 7.2
Previous:From: Doug McNaughtDate: 2002-01-04 18:58:09
Subject: Re: Updated TODO item

pgsql-patches by date

Next:From: Jon MarksDate: 2002-01-04 21:39:15
Subject: libpq seed PRNG for SSL support
Previous:From: Doug McNaughtDate: 2002-01-04 18:58:09
Subject: Re: Updated TODO item

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