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

From Tom Lane
Subject Re: ALTER TABLE TODO items
Date
Msg-id 837.1083860057@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TABLE TODO items  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Responses Re: ALTER TABLE TODO items
Re: ALTER TABLE TODO items
List pgsql-hackers
"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?

> 2. alter table cluster on seems to give a strange error message of the
> index name is really the name of a table.

There were several bugs there ... think I got them all ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL pre-fork speedup
Next
From: "Merlin Moncure"
Date:
Subject: Re: ALTER TABLE TODO items