Re: Trouble setting up replication

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Trouble setting up replication
Date: 2015-10-10 19:34:39
Message-ID: 5619684F.6080006@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/10/2015 12:02 PM, Chuck Martin wrote:
> I only find one version of pg_basebackup on the replicant server, but CentOS 7 comes with PG 9.2, so I suspect that pg_basebackup is left over from that installation. But I’m not sure how to update that. yum update pg_basebackup did not work.

try, /usr/pgsql-9.3/bin/pg_basebackup -V

if you don't have that path, you'll need to install postgresql-9.3 on
it, using the PGDG yum repository at http://yum.postgresql.org...

# yum install
http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/pgdg-centos93-9.3-1.noarch.rpm
....
# yum install postgresql93
...

(note, the last command just installs the runtime libraries and
utilities, it does NOT install the postgresql 9.3 database server, that
is package postgresql93-server)

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-10-10 19:35:28 Re: *** QUESTION *** After successful 'BEGIN;' command -- why PGSQL_TRANSACTION_ACTIVE and not PGSQL_TRANSACTION_INTRANS?
Previous Message Chuck Martin 2015-10-10 19:02:53 Re: Trouble setting up replication