Changeset 942 for pykota/trunk/initscripts
- Timestamp:
- 04/17/03 23:33:16 (21 years ago)
- Location:
- pykota/trunk/initscripts
- Files:
-
- 2 added
- 2 removed
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/README
r889 r942 34 34 if you want to use PostgreSQL as the Quota Storage Backend. 35 35 36 * pykota-upgrade-postgresql.sql :36 * VERYOLDpykota-upgrade-postgresql.sql : 37 37 38 38 This file upgrades the PostgreSQL Quota Storage Database schema 39 39 from versions before 1.01 to version 1.01. 40 D on't use it if you already run a post-1.01 PyKota version.40 DON'T USE IT IF YOU ALREADY RUN A POST-1.01 PyKota VERSION. 41 41 42 * upgrade- 1.01-to-1.03.sh:42 * upgrade-from-before-1.03.py : 43 43 44 44 This shell script upgrades the PostgreSQL Quota Storage Database schema … … 49 49 Server), without prompting for a password. Please read this script and 50 50 adapt it to your own configuration before running it. THIS IS IMPORTANT. 51 52 THIS SCRIPT MAKES ANY REASONABLE CHECK TO ENSURE THAT YOUR DATAS WON'T 53 BE LOST, AND ALSO DUMPS YOUR OLD DATABASE TO A TEXT FILE BEFORE DOING 54 ANYTHING. IT WAS TESTED SEVERAL TIMES AND SHOULDN'T PRODUCE ANY ERROR 55 EXCEPT ABOUT THE pykotaadmin and pykotauser POSTGRESQL USERS WHO 56 ALREADY EXIST WHEN THE DATABASE SCHEMA IS UPGRADED. THIS IS NORMAL ! 51 57 -
pykota/trunk/initscripts/README.postgresql
r900 r942 69 69 - Executes the pykota-upgrade-postgresql.sql script : 70 70 71 pykota=# \i pykota-upgrade-postgresql.sql71 pykota=# \i VERYOLDpykota-upgrade-postgresql.sql 72 72 73 73 - Quit the psql frontend : … … 76 76 77 77 - Your PostgreSQL PyKota storage is now ready 78 for use. 78 for use for the next step, i.e. upgrade the 79 database schema to version 1.03. PLEASE 80 TAKE ANY STEPS DESCRIBED IN THE NEXT SECTION. 79 81 80 82 If you already run PyKota v1.01 or above, you don't need … … 91 93 92 94 * If you are already running PyKota 1.01 or 1.02 and want to upgrade to 93 1.03, YOU HAVE TO RUN the upgrade- 1.01-to-1.03.shshell script.95 1.03, YOU HAVE TO RUN the upgrade-from-before-1.03.py shell script. 94 96 NOT LAUNCHING THIS SCRIPT WILL CAUSE PYKOTA TO STOP WORKING ! 95 P lease don't run this script if your existing version of PyKota is96 already 1.03 or higher.97 PLEASE NEVER RUN THIS SCRIPT IF YOUR EXISTING VERSION OF PYKOTA IS 98 ALREADY 1.03 OD HIGHER.