Re: ALTER TABLE TODO items - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ALTER TABLE TODO items
Date
Msg-id 200405061643.i46Ghkh06972@candle.pha.pa.us
Whole thread Raw
In response to Re: ALTER TABLE TODO items  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ALTER TABLE TODO items
List pgsql-hackers
Tom Lane wrote:
> "Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> > 1. alter table alter type on a clustered index seems to drop the cluster
> 
> I tweaked things so that the clustered flag is preserved for indexes
> that aren't directly affected by the ALTER TYPE.  It would take more
> work to preserve the setting for an index that is rebuilt by ALTER TYPE,
> and I'm not even sure that it's sensible --- the new index could have
> a significantly different ordering from the old.  What do you think?

At a minimum, we should indicate we dropped the cluster on the index.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug in pg_dump 7.4
Next
From: James Robinson
Date:
Subject: Re: PostgreSQL pre-fork speedup