Re: ALTER TABLE DROP COLUMN
| От | Peter Eisentraut |
|---|---|
| Тема | Re: ALTER TABLE DROP COLUMN |
| Дата | |
| Msg-id | Pine.LNX.4.21.0002280034590.2468-100000@localhost.localdomain обсуждение исходный текст |
| Ответ на | ALTER TABLE DROP COLUMN (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: [HACKERS] Re: ALTER TABLE DROP COLUMN
|
| Список | pgsql-hackers |
Bruce Momjian writes: > You can exclusively lock the table, then do a heap_getnext() scan over > the entire table, remove the dropped column, do a heap_insert(), then a > heap_delete() on the current tuple, Wow, that almost seems to easy to be true. I never thought that having tuples of different structures in the table at the same time would be possible. If so then I don't see a reason why this would be too hard to do. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
В списке pgsql-hackers по дате отправления: