From: | Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Splash screen & table rebuilding |
Date: | 2001-09-29 15:53:30 |
Message-ID: | 4.2.0.58.20010929170654.00a3c790@pop.freesurf.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2001-09-29 16:37:45 | Re: Splash screen & table rebuilding |
Previous Message | Dave Page | 2001-09-29 12:44:26 | Re: ALTER TABLE DROP CONSTRAINT |