Re: Increasing the length of a VARCHAR column without table rewrite
В списке pgsql-admin по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Increasing the length of a VARCHAR column without table rewrite |
| Дата | |
| Msg-id | 20091023153113.GD355@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Re: Increasing the length of a VARCHAR column without table rewrite (Lewis Kapell <lkapell@setonhome.org>) |
| Список | pgsql-admin |
Lewis Kapell wrote: > Eric, > > Is the table in question so large that you can't afford the time it > would take to perform ALTER COLUMN TYPE? > > I definitely would not go poking around in system catalogs and > changing things there. Not unless you *want* to trash your > database... The fact that 'todo' has not yet been implemented > suggests that it is not a simple matter of changing one attribute in > a system catalog. Well, it is (in this case at least) -- the problem is that we want a general solution, not one that only applies to the particular problem of widening a column's max length. (When playing with this, however, note that the modified table may need a toast table that may not be there). -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера