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