Re: Replicating from 9.1.10 into 9.3.5

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: Replicating from 9.1.10 into 9.3.5
Дата
Msg-id 1420824280096-5833424.post@n5.nabble.com
обсуждение исходный текст
Ответ на Replicating from 9.1.10 into 9.3.5  (Rob Cowell <rob.cowell@transversal.com>)
Список pgsql-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.


В списке pgsql-admin по дате отправления:

Предыдущее
От: Rob Cowell
Дата:
Сообщение: Replicating from 9.1.10 into 9.3.5
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: Replicating from 9.1.10 into 9.3.5