Splash screen & table rebuilding

Поиск
Список
Период
Сортировка
От Jean-Michel POURE
Тема Splash screen & table rebuilding
Дата
Msg-id 4.2.0.58.20010929170654.00a3c790@pop.freesurf.fr
обсуждение исходный текст
Список pgadmin-hackers
Hello Dave and all,

I removed elephant pictures and uploaded a new splash screen proposal to CVS.

Could you (please) explain again the guidelines for table rebuilding:
1) Table rebuilding is performed in frmTable.
2) lvProperties(0).Tag = "M" means columns have been modified.
    Same as modified checks, modified foreign keys, etc...
3) If any Tag='M', then position bModify = true, rebuilding is necessary.
4) Write a single transaction to perform changes:
     a) rename table to a unique name, example '20010927_101215',
     b) disable triggers (do you know how to remove rules?),
     c) drop indexes, sequences,
     d) create table as ....
     e) recreate trigger, indexes, update sequence value,
     f) drop old table.
5) If for any reason table rebuilding does not work, transaction is rolled
back.

Does it make sense?
Cheers, Jean-Michel

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: ALTER TABLE DROP CONSTRAINT
Следующее
От: Dave Page
Дата:
Сообщение: Re: Splash screen & table rebuilding