Re: questions on ALTER TABLE ... OWNER

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: questions on ALTER TABLE ... OWNER
Date: 2002-02-19 19:03:38
Message-ID: 6343.1014145418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

nconway(at)klamath(dot)dyndns(dot)org (Neil Conway) writes:
> Currently, ALTER TABLE ... OWNER will change the ownership of a table,
> view, sequence or index -- despite the fact that its name hints that it
> is only for 'altering tables'.

> 1) Is this behavior optimal? There is clearly a need to change the
> ownership of relations other than tables, but it seems to me that
> pushing this functionality into ALTER TABLE is unintuitive.

> On the other hand, creating ALTER INDEX ... OWNER, ALTER SEQUENCE ...
> OWNER, etc. seems like overkill.

Definitely overkill. I'd say tweak the docs and leave the code alone.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2002-02-19 19:24:59 Re: questions on ALTER TABLE ... OWNER
Previous Message Kovacs Zoltan 2002-02-19 18:07:13 Re: alter table drop column status