Changes between Version 6 and Version 7 of NetDRMSInPostgres9
- Timestamp:
- 08/06/14 12:30:15 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NetDRMSInPostgres9
v6 v7 1 Should I compile NetDRMS against Postgres 9.x? 1 = Should I compile NetDRMS against Postgres 9.x? = 2 2 3 3 If you can, you probably should. As of late July 2014, Postgres will not support version 8.4 past 8.4.22. There will be no more patches. For those on federal facilities, "no more patches" means you will be mandated to upgrade the program or you will have lots of explaining to do. … … 6 6 If you're reading this and have decided to go forward with your 9.x compile, changes required are minimal. The author of this wiki page has only compiled as far as Postgres 9.2 and NetDRMS 7. It is possible that further changes could be necessary for versions > 9.2 and your situation may be different. However, for a NetDRMS 7 compilation against Postgres 9.2, you will need to: 7 7 8 *Change one line in two places in the SUMS code 8 == Change one line in two places in the SUMS code == 9 9 10 10 Change two files in base/sums/libs/pg named SUMLIB_RmDo.pgc and SUMLIB_RmDoX.pgc and make this modification to line 9 … … 15 15 16 16 17 *Ensure config.local has the right paths listed for Postgres-specific variables (config.local file is located in the top netdrms source directory). 17 == Change config.local == 18 Ensure config.local has the right paths listed for Postgres-specific variables (config.local file is located in the top netdrms source directory). 18 19 19 *Possibly make changes to local environment variables if you have an existing Postgres 8.4.x installed on the machine. 20 == Local environment variables == 21 You may need to make changes to local environment variables if you have an existing Postgres 8.4.x installed on the machine. 20 22 21 23 If you already have a prior version of Postgres installed and want to compile NetDRMS against v. 9.x instead, set your $PATH and $LD_LIBRARY_PATH variables properly to reflect the Postgres 9.2 paths. You might want to do this a .profile file and source it every time you log in to avoid confusing errata later. 24 25 == Backup == 26 If you are doing this on the primary data server, first slap your own hand and then go work on a test bed machine. If that is unavailable, then do a full backup of your production database, and be certain you've configured Postgres 9 to run on two different ports (one for the drms database and another for the sums database). Make doubly sure that all your usual keyboard shortcuts and aliases are re-worked (perhaps in a new .profile or .login file) to reference the new database compiling environment. Better safe than sorry. 22 27 23 28 There you go - that's all that is required.