Re: BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite
В списке pgsql-bugs по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite |
| Дата | |
| Msg-id | 49AE52C3.2070909@enterprisedb.com обсуждение исходный текст |
| Ответ на | BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite ("" <xuan--2009.03--submitbug--support--postgresql.org@baldauf.org>) |
| Ответы |
Re: BUG #4689: Expanding the length of a VARCHAR column should
not induce a table rewrite
|
| Список | pgsql-bugs |
xuan--2009.03--submitbug--support--postgresql.org@baldauf.org wrote: > When executing > "ALTER TABLE sometable ALTER COLUMN somecolumn TYPE VARCHAR(7)", the whole > table is re-written, and this rewrite takes many hours. During these hours, > all writers on this table stall, making the database effectively > unavailable. > > However, in almost all cases, there is no need for such relaxing of limits > to require a table rewrite. While this isn't a bug, it's a reasonable feature request. I've added this to the TODO page: http://wiki.postgresql.org/wiki/Todo#ALTER Patches are welcome. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера