Re: ALTER TABLE TODO items

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ALTER TABLE TODO items
Дата
Msg-id 200405061643.i46Ghkh06972@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: ALTER TABLE TODO items  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALTER TABLE TODO items
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug in pg_dump 7.4
Следующее
От: James Robinson
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup