postgresql physical replication from v9.6 to v15 support - postgresql

Is postgresql physical replication from v9.6 to v15 possible ? Thanks.
Not tested , I think it will not work.

Yes, you are right, that will not work. Streaming replication requires both servers to have the same major version.

Related

Two PostgreSQL 9.5 beta 2 - short replication howto

Try configure native Bi-Direction (synchronous) replication between two postgresql 9.5 beta 2.
OS Ubuntu 14.04
Googled many documents and blogs, but still dont understand how can I configure postgresql.conf to start Bi-Direction replication
Any sample please.
You can't, because there is no built-in support for bidirectional replication in PostgreSQL 9.5.
The BDR project is an effort to develop mesh multimaster logical replication. It is based on 9.4. There is no plan to support 9.5; we intend to skip straight to 9.6 when it is released, and stay on 9.4 in the mean time.
There are external trigger-based tools that do multi-master for PostgreSQL 9.5, like Londiste and Bucardo.
There's also Postgres-XL for full tightly-coupled multi-master but it hasn't been updated to 9.5 yet, and it's a separate modified PostgreSQL, not an add-on.
pglogical, which is derived from BDR, will hopefully provide full multimaster in future, but that's more like 9.6 timeframe.

How to introduce delay in POSTGRESQL 9.3 replication?

I have master slave replication setup. How I can force some delay in replication ?
Is there a setting that I can use ?
Thanks !
Not in 9.3.
In 9.4 you can use min_recovery_apply_delay. See this blog post.
In 9.3, if you have WAL-archive based replication (no streaming) you could archive the WAL to one location, and only move it to a location readable by the standby after a delay. You can't do it with streaming in 9.3.

is it possible to make replication between versions 9.1 and 9.3

all instructions lead to synchronize data folders from master server to slave. But it can not be done between major releases.
ps: general task is update master and slave server from 9.1 to 9.3
It is not entirely clear what you are talking about.
If you're talking about slony replication, it is designed to replicate data across versions. I've replicated databases from 8.4 to 9.1. You must have running the same schema (regarding the replicated objects) on both servers already. Slony replicates tables and sequences very well, it has some stuff for replicating schema changes, but I prefer doing this out-of-band.
If you're talking about in-place upgrading your db server, I'd suggest reading the fine documentation and going from 9.1 to 9.2, then to 9.3 (just to be cautious)

Exclude Database from Streaming Replication

Is it possible to exclude a specific database from streaming replication in Pg 9.1?
Say I have two databases A and B defined, the goal is to ignore everything concerning database B on the backup server.
Thanks for your hints!
No, it's not possible. The replication always works for the complete cluster.
With Postgres 9.5 or later you can use the extension pglogical to do that.
Use Slony-I http://slony.info/ or other replication solutions to replicate partially.

Does pgcluster support PostgreSQL 9.0 version?

I am finding difficulties in finding multi-master (supports atleast 3 to 4 masters) replication package for postgresql Data Base.
Does pgcluster support postgresql 9.0 version ?
Try the beta. If I understood correctly, synchronous master-master replication is built into PostgreSQL 9.1:
http://developer.postgresql.org/pgdocs/postgres/release-9-1.html
E.1.3.2.1. Streaming Replication and Continuous Archiving