pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Replicating from 9.1.10 into 9.3.5
Date: Fri, 9 Jan 2015 10:24:40 -0700 (MST)
Message-ID: <1420824280096-5833424.post@n5.nabble.com> (raw)
In-Reply-To: <1Y9dC8-0002qL-2Y@l31.mail.transversal.net>
References: <1Y9dC8-0002qL-2Y@l31.mail.transversal.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Rob Cowell wrote
> Hi,
> 
> Is it possible to set up replication from a 9.1.10 master to  a 9.3.5
> slave?
> I've taken a base-backup from the master and rsync'd it over to the slave
> but I'm seeing the following error :
> 
>    HINT:  It looks like you need to initdb.
>    FATAL:  database files are incompatible with server
>    DETAIL:  The database cluster was initialized with PG_CONTROL_VERSION
> 903, but the server was compiled with PG_CONTROL_VERSION 937.
> 
> Would I be better off dumping the data from 9.1.10 and re-importing into
> 9.3.5, then starting replication ?
> (or is there an easier way?) :)
> 
> Cheers,
> Rob.

If you mean ongoing streaming replication then, as indicated from the error
message you are getting, no, you cannot mix server versions.

Only logical replication can do that; which, for you, would be a third-party
solution.

David J.



--
View this message in context: http://postgresql.nabble.com/Replicating-from-9-1-10-into-9-3-5-tp5833423p5833424.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <1420824280096-5833424.post@n5.nabble.com>
Permalink:  ../1420824280096-5833424.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1420824280096-5833424.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: david.g.johnston@gmail.com
  Subject: Re: Replicating from 9.1.10 into 9.3.5
  In-Reply-To: <1420824280096-5833424.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox