Skip site navigation (1) Skip section navigation (2)

Splash screen & table rebuilding

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: (view raw, whole thread or download thread mbox)
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 

Does it make sense?
Cheers, Jean-Michel

pgadmin-hackers by date

Next:From: Dave PageDate: 2001-09-29 16:37:45
Subject: Re: Splash screen & table rebuilding
Previous:From: Dave PageDate: 2001-09-29 12:44:26

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group