pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix the logical replication from HEAD to lower versions.
Date: Sat, 26 Sep 2020 04:53:57 +0000
Message-ID: <E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org> (raw)

Fix the logical replication from HEAD to lower versions.

Commit 464824323e changed the logical replication protocol to allow the
streaming of in-progress transactions and used the new version of protocol
irrespective of the server version. Use the appropriate version of the
protocol based on the server version.

Reported-by: Ashutosh Sharma
Author: Dilip Kumar
Reviewed-by: Ashutosh Sharma and Amit Kapila
Discussion: https://postgr.es/m/CAE9k0P=9OpXcNrcU5Gsvd5MZ8GFpiN833vNHzX6Uc=8+h1ft1Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/079d0cacf4fefc326bf776ecc2df5dba995f50de

Modified Files
--------------
src/backend/replication/logical/worker.c    | 4 +++-
src/backend/replication/pgoutput/pgoutput.c | 4 ++--
src/include/replication/logicalproto.h      | 8 +++++---
3 files changed, 10 insertions(+), 6 deletions(-)



Message-ID: <E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org>
Permalink:  ../E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Fix the logical replication from HEAD to lower versions.
  In-Reply-To: <E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org>
  References: <E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org>

* 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