Fix the logical replication from HEAD to lower versions.

Amit Kapila <akapila@postgresql.org>

Commit: 079d0cacf4fefc326bf776ecc2df5dba995f50de
Author: Amit Kapila <akapila@postgresql.org>
Date: 2020-09-26T04:43:51Z
Releases: 14.0
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

Files

Discussion