]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1493824: Install PG 9.4 on Debian Wheezy and Ubuntu Trusty
authorBen Shum <ben@evergreener.net>
Mon, 27 Feb 2017 21:32:48 +0000 (16:32 -0500)
committerJason Stephenson <jason@sigio.com>
Thu, 2 Mar 2017 18:05:12 +0000 (13:05 -0500)
commit4f6424cace45bb0e3d0d6f638ac9700e154231ae
tree32e4e7f51616a490247210db0ba6a87e3a5f22d2
parent93891880f42bd4afd2c81ac4143287b60df33635
LP#1493824: Install PG 9.4 on Debian Wheezy and Ubuntu Trusty

Debian Wheezy only ships with PG 9.1 by default.  Ubuntu Trusty has Pg
9.3.  Pg 9.4 is the recommended version for use with Evergreen going
forward and will be the required minimum version of PostgreSQL for use
with Evergreen 3.0.  Since we envision continuing to support Wheezy
and Trusty through the lifetime of Evergreen 3.0, we therefore help
the user out by adding the apt.postgresql.org repository for them and
install PostgreSQL version 9.4 on these operating systems.

This commit does the following:

1. Sets up the installer to use the PostgreSQL community's apt sources
in a new Makefile.debian target, debian_postgresql_repo.  This target
is run on Debian Wheezy and Ubuntu trusty during prerequisite
installation.

2. Installs PG 9.4 client on Wheezy and Ubuntu.

3. Installs PG 9.4 server in the server prerequisite targets for
Wheezy and Ubuntu.

4. Uses pg_config in installation of lidbdi-drivers from source.

5. Updates the server installation document to reflect the above
changes.

6. Updates the server upgrade documentation to reflect the new minimum
(9.3) and recommended (9.4) PostgreSQL versions.

Benjamin Shum is the primary author of these changes, though they are
based on Chris Sharp's idea for using the PostgreSQL community apt
source.

The libdbi-drivers installation was fixed by Jason Stephenson who also
added an if block to skip the apt.postgresql.org repository set up if
it is already configured on the target host.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/extras/install/Makefile.common
Open-ILS/src/extras/install/Makefile.debian
Open-ILS/src/extras/install/Makefile.debian-wheezy
Open-ILS/src/extras/install/Makefile.ubuntu-trusty
docs/installation/server_installation.txt
docs/installation/server_upgrade.txt