Changeset 880

Show
Ignore:
Timestamp:
03/29/03 15:49:18 (22 years ago)
Author:
jalet
Message:

Better documentation for the upgrade script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/README.postgresql

    r874 r880  
    5353  An sql script to upgrade a pre-1.01 PyKota Quota Storage  
    5454  DataBase is included, if you want to keep your datas from 
    55   a pre-1.01 PyKota version, then please launch the above 
    56   procedure but with the pykota-upgrade-postgresql.sql script 
    57   instead of the pykota-postgresql.sql script. 
     55  a pre-1.01 PyKota version, then please launch the following 
     56  commands : 
     57   
     58        - Launch the psql frontend and connect to the 
     59          database pykota as a PostgreSQL administrator 
     60          (i.e. the postgres user) : 
     61           
     62            $ psql -h localhost -U postgres pykota 
     63           
     64        - Executes the pykota-upgrade-postgresql.sql script :   
     65         
     66            pykota=# \i pykota-upgrade-postgresql.sql 
     67             
     68        - Quit the psql frontend :     
     69         
     70            pykota=# \q 
     71             
     72        - Your PostgreSQL PyKota storage is now ready 
     73          for use. 
    5874   
    5975  If you already run PyKota v1.01 or above, you don't need 
    6076  to run this upgrade script. 
     77   
     78WARNING :   
     79 
     80  This script requires a recent version of PostgreSQL to run 
     81  successfully, because it requires the ALTER TABLE DROP COLUMN 
     82  syntax to be supported. However in case you've got an older 
     83  version, upgrading PostgreSQL is not mandatory, you will just  
     84  have two unused fields in the grouppquota table, these 
     85  fields are pagecounter and lifepagecounter, just forgot them. 
    6186   
    6287IMPORTANT :