pgsql: Remove two_phase variable from CreateReplicationSlotCmd struct.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove two_phase variable from CreateReplicationSlotCmd struct.
Date: 2021-06-07 04:12:38
Message-ID: E1lq6cw-000612-GX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove two_phase variable from CreateReplicationSlotCmd struct.

Commit 19890a064e added the option to enable two_phase commits via
pg_create_logical_replication_slot but didn't extend the support of same
in replication protocol. However, by mistake, it added the two_phase
variable in CreateReplicationSlotCmd which is required only when we extend
the replication protocol.

Reported-by: Jeff Davis
Author: Ajin Cherian
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/64b9f783c6e125f18f88fbc0c0234e34e71d8639.camel@j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be57f21650d36449ec34a67b2d9af71126a663b3

Modified Files
--------------
src/backend/replication/walsender.c | 2 +-
src/include/nodes/replnodes.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-06-07 09:14:21 pgsql: Fix portability issue in test indirect_toast
Previous Message Etsuro Fujita 2021-06-07 03:54:26 pgsql: Fix rescanning of async-aware Append nodes.