Re: COLUMN MODIFY

Поиск
Список
Период
Сортировка
От Kevin Brown
Тема Re: COLUMN MODIFY
Дата
Msg-id 20030113073833.GJ20180@filer
обсуждение исходный текст
Ответ на Re: COLUMN MODIFY  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> 
> Sorry to be commenting so late.
> 
> We could do that CLUSTER way of making a new heap file, but we rejected
> that for DROP COLUMN, so I am not sure why we would use that for ALTER
> COLUMN.  Can anyone think of a good reason?
> 
> Clearly if the new data type is binary compatible and it is just a
> catalog change, we can do that in place.

...with the caveat that any indexes that refer to the column must be
rebuilt, since the value interpretation could be quite different.

Guess that's obvious enough, though...

                      Kevin, a.k.a. "Mr. Obvious"  :-)


-- 
Kevin Brown                          kevin@sysexperts.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: sync()
Следующее
От: Giles Lean
Дата:
Сообщение: Re: sync()