Alter table alter column

Поиск
Список
Период
Сортировка
От Marc Munro
Тема Alter table alter column
Дата
Msg-id 1160165759.12385.41.camel@bloodnok.com
обсуждение исходный текст
Ответы Re: Alter table alter column  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Am I right in thinking that altering a column from varchar(n) to
varchar(n+m) requires each tuple to be visited?

Recent experience suggests this is the case but my reading of the docs
has left me uncertain why this should be so.  We are not changing the
fundamental type of the column, nor are we attempting an operation that
will fail due to existing data being incompatible with the new
definition.

Is there some fundamental reason why placing a higher limit on the
length of existing data cannot be done solely by changing the system
catalogs?  Is this an optimisation that could be added to the TODO list?

__
Marc

Вложения

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

Предыдущее
От: km
Дата:
Сообщение: shared_buffer setting
Следующее
От: Casey Duncan
Дата:
Сообщение: Re: how to get number of minutes?