I am trying to get streaming replication working with postgresql 9.3 on Ubuntu 13.04 (Raring Ringtail). I installed postgresql on master and slave by doing:
apt-get install postgresql
I believe I have all the bits in place for replication, except, pg_archivecleanup does not work. If I attempt to run it, I get it
The program 'pg_archivecleanup' is currently not installed. You can install it by typing: apt-get install postgres-xc-contrib
But that package installs Postgres-XC and blows up my postgresql which I do not wish to do.
The best my googling has come up with is this thread wherein a guy has the same issue with 9.2 and the only response is "You probably need to install -contrib subpackage as well." But doing:
apt-get install postgresql-contrib
postgresql-contrib is already the newest version.
So how the heck do I get pg_archivecleanup installed for PostgreSQL 9.3 on Ubuntu 13.04 (Raring Ringtail)?