~stub/postgresql-charm:pip-wal-e

Last commit made on 2017-02-07
Get this branch:
git clone -b pip-wal-e https://git.launchpad.net/~stub/postgresql-charm
Only Stuart Bishop can upload to this branch. If you are Stuart Bishop please log in for upload directions.

Branch merges

Branch information

Name:
pip-wal-e
Repository:
lp:~stub/postgresql-charm

Recent commits

464c084... by Stuart Bishop

Install wal-e via wheelhouse.txt

2c5808e... by Stuart Bishop

Drop support for PostgreSQL 9.1 and 9.2

PostgreSQL 9.1 is now end of life. PostgreSQL 9.2 was rarely
used, as it was never bundled in an Ubuntu LTS release, and
dropping support for it gives us access to more modern tools
like pg_rewind.

8f4acbb... by Stuart Bishop

Switchover action

The new switchover action allows the operator to switch to a new master
of their choosing. As the existing master is still live, we can
first setup a replication loop to ensure all transactions are
replicated before promotion. This should allow it to be used even
on busy systems, without data loss.

8064ef8... by Stuart Bishop

Explicitly reset ownership in write file helper

shutil.move() does not preserve ownership when crossing filesystem
boundaries, which caused failures on systems with a manually
configured disk layout.

efb877d... by Stuart Bishop

Fix wal-e example

6ba4284... by Stuart Bishop

Update client relation documentation

7cbc642... by Stuart Bishop

New v2 client protocol. Original protocol still supported.

Each PostgreSQL unit now provides relation attributes 'master'
(the libpq connection string to the master) and 'standbys' (a
newline separated list of libpq connection strings to the
standbys). These should be used in preferance to the original
host, port, username and password attributes. This allows
the PostgreSQL charm more flexibility in specifying connection
settings (such as SSL modes), and also allows proxies or
connection pools to front multiple PostgreSQL services or
a PostgreSQL service with a differing number of units. Charms
using the reactive interface:pgsql layer will start using the
updated protocol once they are rebuilt (falling back to the old
protocol transparently).

b4a2d61... by Stuart Bishop

Remove obsolete repo from publication rules

a91a9eb... by Tim Kuhlman

Only check if there is enough space for pgdata if the data_dir already exists.

b54b39d... by Stuart Bishop

Alter test rule quoting to work around CI system strangeness

This reduces test suite functionality, as now only a single
word will work correctly, but I've been unable to track down
how backslashes in the makefile were correctly quoting locally
 and being passed through as raw backslashes under CI.