pgsql: Fix the logical replication from HEAD to lower versions.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the logical replication from HEAD to lower versions.
Date: 2020-09-26 04:53:57
Message-ID: E1kM2Dd-0006Jk-Mg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-26 20:04:58 pgsql: Revise RelationBuildRowSecurity() to avoid memory leaks.
Previous Message Thomas Munro 2020-09-25 07:05:12 pgsql: Defer flushing of SLRU files.