]>
Commit | Line | Data |
---|---|---|
b447d11a GS |
1 | README.rpm-dist |
2 | ----------------------------------------------------------------------------- | |
3 | Version 4.0, for the PostgreSQL 7.2-1PGDG RPMset. | |
4 | Lamar Owen <lamar.owen@wgcr.org> | |
5 | ---------------------------------------------------------------------------- | |
6 | ||
7 | Contents: | |
8 | 0.) Quick -i note. | |
9 | 1.) Introduction, QuickStart, and credits | |
10 | 2.) PostgreSQL RPM packages and rationale | |
11 | 3.) Upgrading from an older version of PostgreSQL without losing data. | |
12 | 4.) Regression Testing | |
13 | 5.) Starting postmaster automatically on startup | |
14 | 6.) Grand Unified Configuration(GUC) File. | |
15 | 7.) Rebuilding the source RPM. | |
16 | 8.) Contrib files. | |
17 | 9.) Logging set up | |
18 | 10.) Further Information Resource | |
19 | ||
20 | QUICK '-i' NOTE | |
21 | ----------------------------------------------------------------------------- | |
22 | The postmaster '-i' option is NOT used by default in the initscript shipped | |
23 | with these RPMs. Please do NOT modify the initscript to add the '-i' back | |
24 | in -- it will get overwritten on the next package upgrade. Rather, see the | |
25 | section below on the Grand Unified Configuration file, which includes the | |
26 | recommended way to get '-i' functionality back. | |
27 | ||
28 | INTRODUCTION | |
29 | ----------------------------------------------------------------------------- | |
30 | This document exists to explain the layout of the RPM's for PostgreSQL, to | |
31 | explain how to migrate from an older version, and to explain WHY it can be | |
32 | so difficult to upgrade PostgreSQL. | |
33 | ||
34 | This document is written to be applicable to version 7.2 of PostgreSQL, | |
35 | which is the current version of the RPM's as of this writing. | |
36 | ||
37 | Official PostgreSQL Global Development Group RPM's will from version 7.1.2 | |
38 | on carry a 'PGDG' after the release number. Other RPMset's as distributed | |
39 | with Linux distributions may have a different release number and initials. | |
40 | ||
41 | It is preferable for the distribution-specific set to be the one used, as | |
42 | the PGDG set is intentionally generic. So, if your distro has a set of RPMs, | |
43 | use them in preference. If you want to stay up-to-date on the PostgreSQL | |
44 | core itself, use the PGDG generic set -- but understand that it is a | |
45 | GENERIC set. | |
46 | ||
47 | These RPMs are designed to be LSB-compliant -- if you find this not to be the | |
48 | case, please let me know by way of the pgsql-ports@postgresql.org mailing | |
49 | list. | |
50 | ||
51 | QUICKSTART | |
52 | ----------------------------------------------------------------------------- | |
53 | If this is an upgrade, please go to section 3, UPGRADING. | |
54 | If this is a fresh installation, simply start the postmaster using: | |
55 | /etc/rc.d/init.d/postgresql start (on RedHat and TurboLinux) | |
56 | ||
57 | The file /var/lib/pgsql/.bash_profile is now packaged to help with the | |
58 | setting of environment variables. You may edit this file, and it won't be | |
59 | overwritten during an upgrade. However, enhancements and bugfixes may be added | |
60 | to this file, so be sure to check .bash_profile.rpmnew after upgrading. | |
61 | ||
62 | The user 'postgres' is created during installation of the server subpackage. | |
63 | This user by default is UID and GID 26. The user has the default shell set to | |
64 | bash, and the home directory set to /var/lib/pgsql. This user also has no | |
65 | default password -- in order to be able to su to from a non-root account | |
66 | or login as 'postgres' you will need to set a password using passwd. | |
67 | ||
68 | CREDITS | |
69 | ----------------------------------------------------------------------------- | |
70 | Thomas Lockhart | |
71 | Uncle George | |
72 | Ryan Kirkpatrick | |
73 |