Debian Codegraph @

rpm/README

raw
1 postgresql-common for RedHat
2 ============================
3
4 The postgresql-common framework was written for Debian/Ubuntu, but most parts
5 of it work as well on other operating systems. The RPM port changes little in
6 the original code, and even uses many files from the debian/ directory for
7 building the packages.
8
9 No separate PostgreSQL client/server packages are provided; the port is backed
10 by the PGDG RPM packages from yum.postgresql.org.
11
12 The filesystem layout is unchanged, /etc/postgresql, /etc/postgresql-common,
13 and /var/lib/postgresql are used as before.
14
15 Differences between the Debian and RedHat operating modes are:
16
17 * /var/run/postgresql/ is still used for external pid files, but the default
18 unix socket directory is /tmp, to match the RPM packages' default.
19
20 * The postgres system user home is /var/lib/pgsql.
21
22 * The binroot is changed from /usr/lib/postgresql/ to /usr/pgsql-. (Note the
23 missing trailing slash, the idea is that the version number can just be
24 appended to the path, e.g. /usr/lib/postgresql/9.4/bin becomes
25 /usr/pgsql-9.4/bin.)
26
27 * The various symlinks for frontend programs in /usr/bin like psql are not
28 direct symlinks to pg_wrapper, but are added as high-priority alternatives to
29 the alternatives symlinks set up by the PostgreSQL RPM packages.
30
31 * SSL is disabled by default because there is no easily available snakeoil
32 certificate. Proper certificates can be configured in createcluster.conf.
33
34 * No attempt is made to setup OOM killer protection for the postmaster process.
35
36 * On Debian, the /etc/init.d/postgresql init script skips versions that have
37 their own /etc/init.d/postgresql-x.y init script, mostly for compatibility
38 with legacy packages before the advent of the postgresql-common framework.
39 The RPM packages provide /etc/init.d/postgresql-x.y scripts, which are
40 ignored by /etc/init.d/postgresql. The postgresql-x.y scripts will not do
41 anything as long as the user does not use them to create clusters in
42 /var/lib/pgsql. (In which case they continue to work as if postgresql-common
43 was not present.)
44
45 * Debian's pre/postinst/rm maintainer scripts are not used. Mostly this means
46 there is no automatic integration of tsearch with system-provided
47 dictionaries.
48
49 The postgresql-common testsuite is supported if perl-Test-Simple and
50 perl-Time-HiRes are installed.
51
52 -- Christoph Berg <[email protected]> Thu, 26 Jun 2014 16:59:47 +0200