Re: Adding columns in the middle of tables

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Adding columns in the middle of tables
Дата
Msg-id 20040905110754.J6722-100000@houston.familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Adding columns in the middle of tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Given the 8.0 ALTER TABLE feature of being able to rewrite the whole
> table, one could now think about doing it without decoupling logical
> and physical numbers: just rewrite the table with the new column
> inserted in the proper place.  This moves the problem to a different
> area, which is being sure you have updated every place in the system
> catalogs and backend caches that references the old column numbers of
> the renumbered columns.  Again, doable in theory but a lot of work,
> and it introduces a bug hazard every time someone changes these data
> structures.

Ah, I hadn't considered the references issue.  Does make it quite hard :)



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Adding columns in the middle of tables
Следующее
От: Shahbaz Javeed
Дата:
Сообщение: Re: Developers page is down