Fix the logical replication from HEAD to lower versions.
Amit Kapila <akapila@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/worker.c | modified | +3 −1 |
| src/backend/replication/pgoutput/pgoutput.c | modified | +2 −2 |
| src/include/replication/logicalproto.h | modified | +5 −3 |
Discussion
- Logical replication from PG v13 and below to PG v14 (devel version) is not working. 24 messages · 2020-09-21 → 2020-09-26