Re: ALTER TABLE OWNER: change indexes

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: ALTER TABLE OWNER: change indexes
Date: 2002-03-06 00:34:53
Message-ID: 1015374893.31791.329.camel@jiro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Tue, 2002-03-05 at 18:34, Tom Lane wrote:
> Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> writes:
> > Sure. The attached patch makes ALTER TABLE OWNER change the ownership of
> > any indexes belonging to the target table,
>
> What about TOAST tables (and their indexes)? If you intend to take this
> approach then their ownership needs to change too.

Well, it's not really a matter of what "I" intend to do -- the
implementation is really pretty trivial, it's just a matter of policy
(and I'm happy to go along with the core hackers on policy).

But if the general consensus is that this is the right way to go, I'll
happily write the code for TOAST tables + TOAST table indexes as well.
I'll wait to see if the index-owner patch is committed first though...

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-03-06 02:52:30 Re: ALTER TABLE OWNER: change indexes
Previous Message Eiji Tokuya 2002-03-06 00:33:17 Re: Added Encoding