Splash screen & table rebuilding - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject Splash screen & table rebuilding
Date
Msg-id 4.2.0.58.20010929170654.00a3c790@pop.freesurf.fr
Whole thread Raw
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: ALTER TABLE DROP CONSTRAINT
Next
From: Dave Page
Date:
Subject: Re: Splash screen & table rebuilding