Suggested TODO: allow ALTERing of typemods without heap/index rebuild

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Suggested TODO: allow ALTERing of typemods without heap/index rebuild
Дата
Msg-id 4A243990.9090701@agliodbs.com
обсуждение исходный текст
Ответы Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
All,

I just realized that even if you do this:

table foo (id    serial,bar    varchar(200)
)

ALTER TABLE foo ALTER COLUMN bar TYPE VARCHAR(1000)

... it triggers a heap & index rebuild, even though it's completely 
unnecessary.  Is this a special case of VARCHAR, or are there other 
types where we should be allowing typemod changes without rebuilding?

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: list_head naming conflict gcc 4.2/perl/solaris
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Suggested TODO: allow ALTERing of typemods without heap/index rebuild